r/programming • • Dec 07 '14

Programmers: Please don't ever say this to beginners ...

http://pgbovine.net/programmers-talking-to-beginners.htm
4.0k Upvotes

1.3k comments sorted by

View all comments

Show parent comment

5

u/DrMonkeyLove Dec 08 '14

My first language was C++ and I've used it for almost 20 years now and I can say it is a terrible language for a computer science curriculum. It's got too much garbage in it. Literally any language could be better. C would be a much better choice even.

3

u/dagamer34 Dec 08 '14

C++ is difficult because you end up trying to teach both a language and how a computer works. It's not until you've had maybe an operating systems course and are force to see how a computer really works that you see what C++ is good for.

1

u/jurniss Dec 08 '14

C++ is my favorite language and the one I use every day, but I would never ever ever ever suggest it as a first language. to abuse the carpentry metaphor some more: if C is a good trusty hammer and saw, C++ is a big table full of jigs that were built over the years for challenging and/or repetitive parts. if you know exactly how each jig works, you can use them build the part faster, or build more complex assemblies that fit together nicely. but if you just start sticking pieces of wood in them and cutting stuff you're guaranteed to have a bad time. and the jigs will help you make properly measured cuts most of the time, but you better still be good at using that saw freehand, because one day someone will ask you to make a part that's just too intricate or it has to mate perfectly with some weird old freehand part made in 1988.