News for hackers. Stuff that matters.
Re:Ask HN: What is deliberate practice for programmers? by ksaj on Thursday April 18, 2019 @06:28PM (#19695359)
My little contribution to deliberate practice: When I write something to learn a specific function or macro in Lisp, I find several ways to program the same thing, and then compile and rank them against each other.

For example, the Fibonacci sequence or factorial using simple iteration, recursion, etc in a few different styles. Then after compiling the function, I look at speed, binary size, execution memory usage, readability of the initial code, etc.

The side effect is that I end up learning what techniques work better for a given metric, in the hopes it eventually becomes an instinct.

There are no comments on this comment yet.