alg0rith

C++ is horrible

Jun 23rd, 2013
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  1. C++ is a horrible language. It's made more horrible by the fact that a lot
  2. of substandard programmers use it, to the point where it's much much
  3. easier to generate total and utter crap with it. Quite frankly, even if
  4. the choice of C were to do *nothing* but keep the C++ programmers out,
  5. that in itself would be a huge reason to use C.
  6.  
  7. In other words: the choice of C is the only sane choice. I know Miles
  8. Bader jokingly said "to piss you off", but it's actually true. I've come
  9. to the conclusion that any programmer that would prefer the project to be
  10. in C++ over C is likely a programmer that I really *would* prefer to piss
  11. off, so that he doesn't come and screw up any project I'm involved with.
  12.  
  13. C++ leads to really really bad design choices. You invariably start using
  14. the "nice" library features of the language like STL and Boost and other
  15. total and utter crap, that may "help" you program, but causes:
  16.  
  17. - infinite amounts of pain when they don't work (and anybody who tells me
  18. that STL and especially Boost are stable and portable is just so full
  19. of BS that it's not even funny)
  20.  
  21. - inefficient abstracted programming models where two years down the road
  22. you notice that some abstraction wasn't very efficient, but now all
  23. your code depends on all the nice object models around it, and you
  24. cannot fix it without rewriting your app.
  25.  
  26. In other words, the only way to do good, efficient, and system-level and
  27. portable C++ ends up to limit yourself to all the things that are
  28. basically available in C. And limiting your project to C means that people
  29. don't screw that up, and also means that you get a lot of programmers that
  30. do actually understand low-level issues and don't screw things up with any
  31. idiotic "object model" crap.
Advertisement
Add Comment
Please, Sign In to add comment