Have a test suite

Two tests failed. They were rather benign tests too. I think I had put those tests there more for completeness than for some edge case I'd run into. The tests were for cases when some of my algorithms would produce an empty data structure. Almost as an after thought I was also saving the empty …

Advertisements

Quick thoughts on starting Functional Programming (in Racket)

Having been "functionally curious" for a while now, I've started with Racket, a language in the scheme family which is a type of Lisp. Yes. Racket rhymes with bracket. My first foray into functional programming was with Haskell. When I started with Learn You a Haskell for Great Good I was initially excited, but then …

Things that stay fixed, and other fairy tales

One of the reasons I hear from scientists/engineers transitioning from wet work to "dry" work is that they would like to work in a field where, when things are fixed, they stay fixed. It's not entirely clear to me that code, actual computer code that has to work in the field, completely fits that requirement …