Blog

October 03, 2019

,

Sherin C

Materials for learning ReasonML

This post is a follow-up to the workshop ” Build production-ready user interfaces with ReasonML ” Practicing language basics Try learn-reasonml-workshop to practice ReasonML basics including functional programming and types. It is a set of 24 exercises that you can run locally in your machine. If you get stuck…

March 19, 2019

,

Jasim A Basheer

Rails on OCaml

I’ve been programming with Reason/OCaml for over a year now and have come around to the idea that typed functional programming based on the ML-family of programming languages will be the “next big thing” in programming languages. It is in quotes because even though ML has been around for over 40 years, it is yet to…

March 09, 2019

,

Jasim A Basheer

Consistency and drudgery in UI design

The key to good UI design is visual consistency. It is also the key to good HTML & CSS. But in practice, websites are inconsistent even in their brand colors. Their spacings will be all over the place; everyone rolls their own buttons; and text sizes will vary widely. Inspect a little, and most of these interfaces…

February 17, 2019

,

Jasim A Basheer

How functional is Ruby?

The mental model for imperative programming is one of simulation. To understand such a program, one has to imagine discrete pieces of state and step through the code mentally and see how they change over time . This paradigm is formalized by the Turing machine, which in the artist’s imagination looks like this : This…

May 10, 2017

,

Jasim A Basheer

An Invitation to ReasonML

Peter Deutsch once quipped that if you get the data structures and their invariants right, most of the code will just kind of write itself. If I had to pick just one nugget of learning from my career in programming so far, that would be it. The effects of a poorly designed model cascades across the codebase, forcing us…