News for hackers. Stuff that matters.
Re:Revenge of the Types by bunderbunder on Monday August 25, 2014 @03:46PM (#8223761)
Cases like that are fairly straightforward.

Where things really fall apart is using recursion instead of loops. Especially when the time comes to mention tail recursion.

Re:Revenge of the Types by loup-vaillant on Monday August 25, 2014 @08:14PM (#8224981)
Case like that are straightforward, and people still manage to botch them. Which is why I suspect there is something deeply wrong, or at least fundamentally different, about the minds that produce such mistakes.

Though for this particular mistake, it may have come from some misguided notion about performance (like perceived overhead of constructing a string then passing it up the stack).

As for things like recursion and closures… I just avoid them because I know my colleagues will recoil in horror with such uselessly indecipherable excess of cleverness.