News for hackers. Stuff that matters.
Re:Popular Myths about C++, Part 1 by throwawayaway on Tuesday December 09, 2014 @11:10AM (#8723516)
You need to understand so much about C to even talk about pointers in C++, and everything related to them, it's not funny.

RAII -> Why? nullptr vs. NULL -> Why? Pointers -> Why? Don't use them in a certain way -> Why?

The answer in all cases is C.

Re:Popular Myths about C++, Part 1 by coldtea on Tuesday December 09, 2014 @03:24PM (#8725461)
>The answer in all cases is C.

Starting to sound like a broken record. No, the answer in all cases can also be found in C++, and understood in C++ terms alone. C++ is a SUPERSET of C, not just an arbitrary language + C.

Re:Popular Myths about C++, Part 1 by throwawayaway on Tuesday December 09, 2014 @06:44PM (#8726631)
cheers for the broken record warning.

i will now abstain from further conversation - i will leave you with this - i don't care to read your answer in case i have to respond and you might have to deal with some more repetition:

using the language of sets, the set of C++ minus the set of C, with what is now left:

how can you explain the things i have listed?

Re:Popular Myths about C++, Part 1 by coldtea on Wednesday December 10, 2014 @03:28AM (#8728238)
>how can you explain the things i have listed?

As evolution within the same language. Inconsistent ideas ironed out for more uniform and safer handling.

A lot of used languages have similar historical warts...

How do you explain "var" in JS, when "let" exists?

Re:Popular Myths about C++, Part 1 by pjmlp on Tuesday December 09, 2014 @03:16PM (#8725394)
No, they are C++ pointers.

There are endless languages that have pointers, no need to talk anything about C.