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

C >= C++

Name: Linus Torvalds 2009-07-06 10:57

*YOU* are full of bullshit.

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.

In other words: the choice of C is the only sane choice. I know Miles
Bader jokingly said "to piss you off", but it's actually true. I've come
to the conclusion that any programmer that would prefer the project to be
in C++ over C is likely a programmer that I really *would* prefer to piss
off, so that he doesn't come and screw up any project I'm involved with.

C++ leads to really really bad design choices. You invariably start using
the "nice" library features of the language like STL and Boost and other
total and utter crap, that may "help" you program, but causes:

 - infinite amounts of pain when they don't work (and anybody who tells me
   that STL and especially Boost are stable and portable is just so full
   of BS that it's not even funny)

 - inefficient abstracted programming models where two years down the road
   you notice that some abstraction wasn't very efficient, but now all
   your code depends on all the nice object models around it, and you
   cannot fix it without rewriting your app.

In other words, the only way to do good, efficient, and system-level and
portable C++ ends up to limit yourself to all the things that are
basically available in C. And limiting your project to C means that people
don't screw that up, and also means that you get a lot of programmers that
do actually understand low-level issues and don't screw things up with any
idiotic "object model" crap.

So I'm sorry, but for something like git, where efficiency was a primary
objective, the "advantages" of C++ is just a huge mistake. The fact that
we also piss off people who cannot see that is just a big additional
advantage.

If you want a VCS that is written in C++, go play with Monotone. Really.
They use a "real database". They use "nice object-oriented libraries".
They use "nice C++ abstractions". And quite frankly, as a result of all
these design decisions that sound so appealing to some CS people, the end
result is a horrible and unmaintainable mess.

But I'm sure you'd like it more than git.

            Linus

Name: FrozenVoid 2009-07-07 3:29

>>35 Extensions to C which allow catch/throw/exception/new/delete (without C++ )etc have been available since the mid-90's


____________________________________
http://xs135.xs.to/xs135/09042/av922.jpg
There's nothing in the world so demoralizing as money.

Name: Anonymous 2009-07-07 3:42

>>39
OOP is natural if you started off with C and see (no pun intended) how objects are basically structures and methods operate on them. All the hate that OOP gets these days is because of those who don't really understand it, just memorize some stupid facts that sound like the marketing department made them, and believe it's object oriented, so it must be a good thing! This leads to the proliferation of objects and code that would feel like satori to an OOPfag, but is a horrible horrible thing to read for those who actually understand. It's worse than GOTO-filled C when the code has objects which have objects which have objects and so forth, so that you really have to jump all over the place to follow the flow (just like goto), except that the target of those jumps is even less clearly defined.

Name: Anonymous 2010-12-17 1:31

Xarn is a bad boyfriend

Name: Anonymous 2010-12-27 5:04

<

Name: Anonymous 2011-02-04 15:04

Name: Anonymous 2013-08-31 20:07


Not sure but beating an fleet with only one ship usually makes all your ships sparkle assuming the fatigue is at default value (at least it does for me).

Name: Anonymous 2013-08-31 21:37


14) マリー・ポッターと秘密の地下室II. This was added in patch 1.54. The real hard version of マリー・ポッターと秘密の地下室. Now without partners and you only stay half the turns on each floor.

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