:: forall a. a -> Meetup [a]

Ten to One Hundred

Posted on October 1, 2014 by Kyle Marek-Spartz

Learning how to grow programs from ten to one hundred lines is difficult. There are plenty of resources for going from one to ten or 10,000 to 100,000, but in between you are often out of luck.1 To that end, at our last monthly meeting, I led a discussion on this problem, using an implementation of an echo server as an example2. We grew the program from six to 51 lines, stopping along the way to discuss topics as they came up.

  1. I’m forgetting the source of this observation. If you know it, please let me know, or file a pull request!↩︎

  2. I’ve been working through Parallel and Concurrent Programming in Haskell, previously blogging about an implementation of the DayTime protocol. These examples are based on Chapter 12 of the book.↩︎