Guest User

Untitled

a guest
Jun 1st, 2011
456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. *YOU* are full of bullshit.
  2.  
  3. C++ is a horrible language. It's made more horrible by the fact that a lot
  4. of substandard programmers use it, to the point where it's much much
  5. easier to generate total and utter crap with it. Quite frankly, even if
  6. the choice of C were to do *nothing* but keep the C++ programmers out,
  7. that in itself would be a huge reason to use C.
  8.  
  9. In other words: the choice of C is the only sane choice. I know Miles
  10. Bader jokingly said "to piss you off", but it's actually true. I've come
  11. to the conclusion that any programmer that would prefer the project to be
  12. in C++ over C is likely a programmer that I really *would* prefer to piss
  13. off, so that he doesn't come and screw up any project I'm involved with.
  14.  
  15. C++ leads to really really bad design choices. You invariably start using
  16. the "nice" library features of the language like STL and Boost and other
  17. total and utter crap, that may "help" you program, but causes:
  18.  
  19. - infinite amounts of pain when they don't work (and anybody who tells me
  20. that STL and especially Boost are stable and portable is just so full
  21. of BS that it's not even funny)
  22.  
  23. - inefficient abstracted programming models where two years down the road
  24. you notice that some abstraction wasn't very efficient, but now all
  25. your code depends on all the nice object models around it, and you
  26. cannot fix it without rewriting your app.
  27.  
  28. In other words, the only way to do good, efficient, and system-level and
  29. portable C++ ends up to limit yourself to all the things that are
  30. basically available in C. And limiting your project to C means that people
  31. don't screw that up, and also means that you get a lot of programmers that
  32. do actually understand low-level issues and don't screw things up with any
  33. idiotic "object model" crap.
  34.  
  35. So I'm sorry, but for something like git, where efficiency was a primary
  36. objective, the "advantages" of C++ is just a huge mistake. The fact that
  37. we also piss off people who cannot see that is just a big additional
  38. advantage.
  39.  
  40. If you want a VCS that is written in C++, go play with Monotone. Really.
  41. They use a "real database". They use "nice object-oriented libraries".
  42. They use "nice C++ abstractions". And quite frankly, as a result of all
  43. these design decisions that sound so appealing to some CS people, the end
  44. result is a horrible and unmaintainable mess.
  45.  
  46. But I'm sure you'd like it more than git.
  47.  
  48. Linus
Advertisement
Add Comment
Please, Sign In to add comment