OCaml at First Glance
You never get a second chance to make a first impression. Lately I’ve been learning OCaml and I thought it might be a good time to share a few initial impressions, while they are still fresh. Of ...
You never get a second chance to make a first impression. Lately I’ve been learning OCaml and I thought it might be a good time to share a few initial impressions, while they are still fresh. Of ...
One thing that was a bit weird for me in OCaml early on was how to introduce multiple let bindings (e.g. in the body of a function definition). Think something like this in Clojure: (let [a 1 ...
I’ve promised you articles about OCaml and here they come! The first order of business when learning a new programming language is to setup Emacs for effective programming in it. Emacs has a long ...
Live as if you were to die tomorrow. Learn as if you were to live forever. – Mahatma Gandhi For as long as I’ve been into programming I’ve been learning some new programming languages on the s...
If you’re into programming puzzles you probably know that there’s a whole class of problems about doing something (e.g. some calculations) with the digits of a number. This means you need to break ...
Many programming languages have a function for combining the elements of multiple collections (e.g. arrays or lists) together. Typically this function is named zip. Here’s an example from Haskell: ...
Today I saw a clever bit of Clojure code involving clojure.string/replace, that reminded me how powerful the Clojure standard library is. I guess pretty much everyone knows that replace is normally...
Pretty often I receive emails like this one:1 I was curious if you’re open to guest posts and if my suggested topic would be of interest to you. I’d like to write an article for you about the p...
It’s no secret that I love email. One of the great things about email addresses is that they are public and that everyone can get in touch with you this way. That’s also one of the more annoying as...
A little bit over a year ago I switched from Gmail to Fastmail for my personal email. Looking back, I couldn’t be happier with my decision. The more I’ve used Fastmail, the more I liked it. Working...