News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Mysteries of C++ revealed

Started by jj2007, December 14, 2013, 08:16:10 PM

Previous topic - Next topic

jj2007

#15
Quote from: qWord on December 17, 2013, 10:06:50 AM
You might simply stick with BASIC  ;)

OMG you mean GOTO, LET, spaghetti code, line numbers etc...? :dazzled:

QuoteInterviewer: Just a minute. What about references? You must admit, you improved on 'C' pointers..
Stroustrup: Hmm. I've always wondered about that. Originally, I thought I had. Then, one day I was discussing this with a guy who'd written C++ from the beginning. He said he could never remember whether his variables were referenced or dereferenced, so he always used pointers. He said the little asterisk always reminded him..

(Bjarne Stroustrup on C++)

QuoteC++ is a horrible language. It's made more horrible by the fact that a lot
of substandard programmers use it, to the point where it's much much
easier to generate total and utter crap with it. Quite frankly, even if
the choice of C were to do *nothing* but keep the C++ programmers out,
that in itself would be a huge reason to use C.

(Linus Torvalds on C++)
:biggrin:

Gunther

Jochen,

interesting quotes.  :t

Gunther
You have to know the facts before you can distort them.

i Z !

Quote from: dedndave on December 14, 2013, 08:36:37 PM
looking at C++ stuff is bad for mental health   :lol:


:)) - Indeed, especially if you have a BASIC/asm background

rrr314159

Funny u should mention it. I just reviewed C++, went thru my 30-year old notes, and compared to C++11, to tell Gunther and qWord what I disliked about it. A day later I find myself hankering to get back to it! It has a lot of attractive points, makes a lot of sense, extremely logical - until u get down to certain details, and a lot of modern extras that as far as I can see just mess it up. I wonder if there's a compiler (or, maybe, a new language) that leaves out the "bad" parts and keeps just the good ones.
I am NaN ;)