Author Topic: Mysteries of C++ revealed  (Read 7637 times)

jj2007

  • Member
  • *****
  • Posts: 7541
  • Assembler is fun ;-)
    • MasmBasic
Re: Mysteries of C++ revealed
« Reply #15 on: December 17, 2013, 10:49:52 AM »
You might simply stick with BASIC  ;)

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

Quote
Interviewer: 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++)

Quote
C++ 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:
« Last Edit: December 17, 2013, 08:36:44 PM by jj2007 »

Gunther

  • Member
  • *****
  • Posts: 3515
  • Forgive your enemies, but never forget their names
Re: Mysteries of C++ revealed
« Reply #16 on: December 18, 2013, 06:05:52 AM »
Jochen,

interesting quotes.  :t

Gunther
Get your facts first, and then you can distort them.

iZ!

  • Regular Member
  • *
  • Posts: 34
Re: Mysteries of C++ revealed
« Reply #17 on: March 07, 2015, 05:47:19 AM »
looking at C++ stuff is bad for mental health   :lol:


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

rrr314159

  • Member
  • *****
  • Posts: 1381
Re: Mysteries of C++ revealed
« Reply #18 on: March 07, 2015, 11:08:59 AM »
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 ;)