Get the latest tech news

Shine with Gleam


Rocky Jaiswal - Technical blogs

I think I have suffered more with the OOP philosophy of mixing functions and data in a class and passing messages around objects to build features, this mostly leads to a complex dependency graph (or call it a mess) and bugs are hard to track and fix. Since the smaller functions are easily readable and do simple things like read a file, or sort a list I will not show them in this post. Gleam is opinionated, there is a great "Result" type to express things which can work or not, and there is no "if" just a power pattern matching feature.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Gleam

Gleam

Related news:

News photo

Exploring Gleam, a type-safe language on the BEAM

News photo

Gleam 1.2.0 release – Fault tolerant Gleam

News photo

Learn OTP with Gleam