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.
Or read this on Hacker News