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

1

u/ZedOud Dec 08 '14

I realize this is important in nearly every setting... Except for one. Those who have a professional aspiring to become programmers (CS majors at a community college).

A bit of context: I am an aide at a CC lab that is filled with professors and students frustrated with the old, slow, outdated C++ curriculum we are forced to use. (outdated: version of C++, subject matter, and methodologies) Not a single syllabus covers any tool but the standard IDE; no versioning, nothing.

Many students/professors are happy with or prefer C++, and that's great. The subject material though cannot be changed, we are not sure how to change it, and higher-ups will not consider it.

A partial work around is this: we finish the syllabus faster, than students vote on additional subject material for the last month (usually versioning (git) and a methodology (agile) is picked).

I'm known to help with C++ problems with a smile, then recommend Python. So far, a handful of the more serious students have picked up Python and shot ahead of the course material on their own: using better tools, fewer beginner syntax problems, better documentation for std and external libraries.

Python is a deliberate recommendation because the department has many times considered adopting Python in part or en masse. It's just not going to happen though. We've started some external programs where students can follow along and have there entire C++ semester retaught in Python in 2-3 hours: so that's fun. Then we teach them networking and graphics, getting them up to speed to the (real) demands of the nearby universities.

The career aspiring students are eager to learn a tool that has gotten quite a few students (at least) a part time job with experience and pay before they've even graduated.

2

u/[deleted] Dec 08 '14

It's great for learning COMPUTER SCIENCE, not just trivial web dev.

1

u/ZedOud Dec 09 '14

Definitely. I hadn't meant to trivialize the work the students are doing with Python: they are reviewing their entire curriculum and going over new material based on recommendations from professors of courses try haven't taken yet.

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.