Embed Notice
HTML Code
Corresponding Notice
- Embed this noticeThis describes my programming journey as well. I’ve even described it exactly this way in the past (lego blocks)
Before functional programming a spent a lot of time refactoring and restructuring code. Functional programming teaches you to build composable programs (legos) where you can swap out bits so you never really have to restructure things that often.
It drastically changed the way I write code in every other language. Haskell taught me to separate pure code from effectful code, most languages don’t force this separation of concerns.
I still hate classes though and prefer PoD structs and functions.