What I love about programming is that it’s enough to do something once. If you do it once, you box it up and can reuse it however you want. The more advanced programming languages we have today keep inventing new ways to reuse code, which is great for a lazy person like me (I think laziness is a desired quality in a programmer).
]]>When asked to provide a solution I, naturally, wrote the recursive one in C. For which I was severely punished, because the interviewer slyly grinned and asked me to write it in assembly.
A double recursion in assembly. Now that’s fun ! For me as a 3rd semester student it wasn’t easy, but eventually I guess I managed, because they accepted me (though I went to IBM).
]]>