Re:Learning To Drive a Stick Shift: Why Programmers Should K...
by newt0311 on Sunday July 20, 2008 @06:06PM
(#251708)
C yes, C++ definitely not. C will help because it will introduce people to how things are actually stored in memory and because quite a few high level tools are implemented in C. C++ will just confuse the learner with excessive syntax.
[ Parent
| on HN ]
Re:Learning To Drive a Stick Shift: Why Programmers Should K...
by dhotson on Monday July 21, 2008 @01:18AM
(#251992)
I generally agree, C comes in really useful in a lot of places. It's certainly the best nuts-and-bolts language.
Although at the same time, I find that C++ can be quite useful if you are disciplined in what parts of it you use.
I think it's great that you get some decent data structures (Standard Template Library) out of the box.
Re:Learning To Drive a Stick Shift: Why Programmers Should K...
by dnaquin on Sunday July 20, 2008 @06:29PM
(#251725)
yes. i've come to the conclusion not that learning c is helpful but that writing malloc is helpful. i'm eternally grateful that was assigned as a project my sophomore year.
Re:Learning To Drive a Stick Shift: Why Programmers Should K...
by rw on Sunday July 20, 2008 @09:28PM
(#251834)
Could you provide details on what the project requirements were? I'm interested in doing a similar exercise.
Re:Learning To Drive a Stick Shift: Why Programmers Should K...
by oostevo on Sunday July 20, 2008 @09:44PM
(#251840)
_Tons_ of computer systems courses are taught out of the same book from CMU: _Computer Systems: A Programmer's Perspective_.
You can search for "malloc lab" and find tons of copies of the assignment (with only the instructor names and course numbers changed), but here's one:
http://www.cs.cmu.edu/afs/cs/academic/class/15213-f02/L6/mal...
Re:Learning To Drive a Stick Shift: Why Programmers Should K...
by dnaquin on Monday July 21, 2008 @12:28AM
(#251957)
mine was http://www.owlnet.rice.edu/~comp320/2007/assignments/malloc/.... or something similar a handful of years prior.