3 ms·
I had a study partner in intro to CS. I met him in Calc, which was much more of a weedout class than the CS class was. God the homework was boring. If we got
by hinkley 8y ago
I had a study partner in intro to CS. I met him in Calc, which was much more of a weedout class than the CS class was. God the homework was boring. If we got the assignment done early, we’d spend an hour or so trying to make ours go fastest or take the largest input without crashing. It rubbed the wrong way that a fib(n) implementation that blew stack at n=50 was considered acceptable. So we gamified doing a better job.
As a grownup in a hurry to reach mastery, I kept that but reduced it to 20-30 minutes. Although these days I concentrate on robustness and readability. I tell junior programmers to do the same; finish the work and then ask yourself how you could make it better in 20 minutes. Nobody is going to notice that your day long task took an extra 20 and in six months the quality of what you turn in will be much higher as you start incorporating those ideas up front.