Re:Ask HN: Things you wish you'd learned about programming i...
by roundsquare on Monday November 30, 2009 @03:59AM
(#967550)
I think source control should be taught starting the first day of CS101.
I agree with the general sentiment but I think that instead this should be taught during the first time students need to work in large groups (more than 2 people). Without suffering from not having version control, no one will care. Now, I'm not saying that we should only focus on what people think they need as students, but if there is a way to force them to understand the value of something, all the better.
Re:Ask HN: Things you wish you'd learned about programming i...
by CamperBob on Sunday November 29, 2009 @10:58PM
(#967301)
"Any performance problem can be solved by caching, if you do it right."
Terje Mathiesen, or a follower of his? His axiom is that all optimization, or at least almost all of it, is an exercise in caching.
Four courses that have been worth substantially more than $80 an hour to me: Japanese, Technical Writing, AI (mostly because it really should have been called Introduction To Scripting Languages), and (weirdly enough) my single course on assembly. That was entirely due to a twenty minute discussion with my professor that had an effect on me, the general gist of which was "Any performance problem can be solved by caching, if you do it right." I haven't programmed a single line of assembly in my professional career but every time a performance problem comes up I cache and the problem goes away. (And is replaced by a cache expiration problem.)