Recursion? Iteration? Or a third (or fourth) way?

Deconstructing factorial implementations in unnecessary detail, from iterative to recursive, from control structure to data structure, from one language to another

Deconstructing sequential development to better understand more continuous development

A previous version of this article appeared in ObjectiveView (2006)

Practical lessons in the impractical permutation sort

Factorial redux

In case your only recollection of factorial is as a rather uncompelling demonstration of recursion, what you need to know is that the numbers get very large very fast.

Figuring out the mass of carbon in the atmosphere with some back-of-the-envelope number crunching

Take 1: Atmospheric mass and the proportion of CO₂

What you’ll need to know or to find out for this estimate, which draws on the least knowledge…

Dropsort adventures in algorithm design, programming languages and sequential and concurrent control flow

Figuring out the mass of Earth’s atmosphere via the back of an envelope

A calendrical journey into low-level programming

The what, how, and why of prioritizing development work

This article first appeared in agile-thoughts

An unexpected paradigm journey into sleep sort

Kevlin Henney

consultant · father · husband · itinerant · programmer · speaker · trainer · writer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store