Patterns are half-formed code

Posted on Thu 18 August 2016 in misc • Tagged with programming, golang, python

If “technology is stuff that doesn’t work yet”[1], then patterns are code we don’t know how to write yet.

In the Go Programming Language, the authors show how to iterate over elements in a map, sorted by keys:

To enumerate the key/value pairs in order, we …

Continue reading