Re: OOP



On Jun 30, 12:35 pm, Richard Heathfield <r...@xxxxxxxxxxxxxxx> wrote:

Yes. It never works very well. If that's what you want, just use C++ and
discipline yourself not to use the features that you think hamper
readability. (That is what I already do in C. The fact that goto, say, is
available does not mean that I am required to use it.)

You have a point. And I know that nothing I do or say
will stop others from using C++'s problematic features
or even its good features in bad ways.

But an analogy might be that C is like a car,
C++ is like a motorcycle. Accidents happen
more readily with motorcycles and with C++.
And although I'm a careful driver of all vehicles,
and a careful coder, chances are higher that,
if I say to an employer "I'm a C++ programmer"
they will stick me with someone else's C++ code
that is incomprehensible than if I say I'm
a C programmer.

.



Relevant Pages

  • Re: Undertaking Cyclists
    ... There is nothing to say that cyclist, motor and otherwise, cannot filter ... very interesting feature in Motorcycle Sport and Leisure Magazine - I know, ... One of the features writers was as at ... roads forever. ...
    (uk.rec.driving)
  • Re: Undertaking Cyclists
    ... best use of the vehicle's features. ... very interesting feature in Motorcycle Sport and Leisure Magazine - I ... to ride like idiots, and I don't think anybody can argue that. ...
    (uk.rec.driving)
  • Re: Undertaking Cyclists
    ... best use of the vehicle's features. ... very interesting feature in Motorcycle Sport and Leisure Magazine - I ... to ride like idiots, and I don't think anybody can argue that. ...
    (uk.rec.driving)
  • Re: Tcl/TK is indeed dying
    ... features, or other features which obviate the need to use goto ... goto is a very basic flow control construct. ... fairly rare language feature even now. ...
    (comp.lang.tcl)
  • Re: goto
    ... effective ways of programming that are not particularly compatible ... rather we are dealing with features that are alien to C. ... The goto can be used to simulate some of these features; ...
    (comp.lang.c)