Types for Not Lying or How to Talk the Language Compiler Understands

The fun part of the Internet is that anyone can write some stupid stuff for anyone to read and laugh to their hearts’ content. I’ll try to write something useful, but even if it is a mess, I’m not the first, and definitely won’t be the last. What I want to talk about is the role of the types in our programming lives and how to utilize them for the better and easier life.
Read more →

So You Want to Functional Programming (Part III)

Part I Part II Part III Composing with side-effects Now. If you have thought that the FP guys are crazy, hopefully you’re going to end up with a ton of evidence on your hands to finally lock us away into the depths of the abyss, where we truly belong. Or you might have discovered something new, interesting and useful, which, you know, is also good. There are three things that make functional programming as functional as it gets (or not):
Read more →

So You Want to Functional Programming (Part II)

Part I Part II Part III Higher order functions Functional programmers are all about making things better. The problem is that we don’t know how to make things better. So we tend to explore different ideas. And most of them don’t work. But some turn out to be surprisingly effective. So much so, the other languages tend to get those ideas into their own languages and then when you try to argue why you should learn a proper functional programming language, people look at you like crazy, saying that they already have all the fancy functional programming stuff in their language and that they already know what it is, while their code is still 90% imperative and state mutating shit.
Read more →

So You Want to Functional Programming

Part I Part II Part III Hello there, poor soul! How come you found your way to this post? Are you perhaps unhappy with the way programming is done nowadays? Did you perhaps hear someone say that functional programming has all the benefits like: Simplifying your projects Removing a class of errors and bugs Bringing back joy of programming of early days Well, whether those claims are true or not, you will have to see them for yourself.
Read more →

How and Why It Took Me One Year to Start Coding in FP Language

Intro You know, since I accidentially discovered Functional Programming due to being a Security Analyst at a time (and realizing how shitty our software practices are to allow many severe vulnerabilities into production due to C’s nonexistent memory safety), I was a hard proponent, or a more fancy word they call us, an evangelist of FP (but that is a topic of its own). Of course, when I try to do that, I get a massive pushback from people:
Read more →