The reports of my madness may not be so exaggerated

Sometimes I think my quest to get my functional programming skills up to snuff is turning me into a raving lunatic. I keep writing code that inflicts physical pain when kept to myself. Here's a fresh cut and paste out of my emacs:

  applyAll [] = id
  applyAll fs = foldl1 (.) fs

After writing that, I immediately opened up all of my instant messenger programs in search of an imperative programmer to accost. "Don't you see? Don't you see how beautiful this is?" I would say. They almost never see.

Tags: , ,

2 Responses to “The reports of my madness may not be so exaggerated”

  1. Ira Pfeifer says:

    I see you found my new blog; thanks for the link.

    My first real CS classes were taught in Scheme, which I didn’t appreciate until I started to take Java. Are you plotting to secretly re-write the whole CapIQ platform in functional style and run your own rogue release one night?

  2. Dan McKinley says:

    Being a masochist, I think my goal is to get myself to the point that writing C# and/or Java feels like water torture. I’m almost there.

Leave a Reply