This is a lengthy post explaining my reasoning for certain decisions| jerf.org
As it stands today, consciousness is a black box of mystery. We don’t| jerf.org
In my previous post, Layered Design in| jerf.org
Functional Programming Lessons in Imperative Code| jerf.org
This post will describe how I design my programs in Go. I needed this| jerf.org
As many others observe as well, one of the major reasons to write is to firm up ideas in one’s own head. Serializing an idea out into English words is still no guarantee one understands it deeply, but it is great progress over a very fuzzy idea that has never been fleshed out at all. I’ve known for a long time I wanted to sit down and write this out. But I had no idea how many principles I’ve either drawn out from my times with functional languages, or had sharpened by them forcing me o...| Posts on iRi
I am reliably informed by many people that the core essense of functional programming is the extensive use of map, filter, and reduce, that these functions are superior to for loops in every way, to a degree that they should be jammed in to every possible language with no need to analyze the cost/benefits of such an approach because the benefits are just so incomparably amazing that the costs couldn’t possibly be relevant, and even wondering about the costs just proves I Don’t Get It.| Posts on iRi
Up to this point I have not followed through on my promise to offend everyone in general, and in particular, functional-programming-in-imperative-languages advocates. Everything’s been pretty positive about functional programming. This is where the tide is going to start to turn, but I’m going to lead into it a bit before getting really offensive. “Programmable Semicolons” Let’s talk about monads, and in particular, monads in their capacity as “programmable semi-colons”. If you ...| Posts on iRi
Functional programming languages see types not just as buckets of| jerf.org
At the beginning of this series, I said I was going to annoy every| jerf.org
This is another lesson that does not require functional programming to notice, but it is a lesson that functional programming puts front and center whereas independently discovering it from imperative programming may take a long time. Functional programming derives (pun intended) a lot of benefit from its typeclasses, despite them in some sense being second-class citizens in the expression problem to sum types. Much code is written against small interfaces like “functors” or “monads”,...| Posts on iRi