Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ hate

Name: Anonymous 2012-05-10 13:47

Why do people hate C++? It's a good language.

Comparing to C:
- C++ has RAII, C has not
- C++ supports OOP, C does not
- C programs are full of segfaults and bufferoverflows, C++ programs are not

Comparing to Java
- Java has GC, GC is shit, C++ doesn't have GC
- C++ objects can have destructor
- C++ fast, Java is crap

Comparing to Python
- Both are high level
- Python is very slow, C++ is fast
- Python has dynamic type system, C++ has static type system; dynamic type system causes many bugs, static type system prevents many bugs

Comparing to List:
- Lisp is shit, C++ is not
- GC is shit

Comparing to Haskell
- Haskell is toy language, C++ is not

Overall, C++ is superior language in most cases. In some cases you'd prefer Python, when you need slow program, or Lisp when you need shit program. But in most cases you prefer C++.

Name: Anonymous 2012-05-11 2:11

>>19
Yes, what if someone wanted to pass an object that behaves like integer but is not really integer to that function. Then it would fail while it should not fail.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List