Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
kiki352544yIt’s the feeling of transitioning from an ugly caterpillar into a majestic Machaon.
Elm is a bit unusual tho even among functional languages. I’d recommend Clojure. The shortcut is refs, atoms and agents, also clojurescript, leiningen, re-frame -
What @AmyShackles and @Root said!
I also started learning FP not long ago, when given an opportunity to solve a problem with free hands, so I went with F#. While it twists my brain (still, even tho I started applying FP already quite a while ago in a JS project) and at moments it feels overwhelming, those moments when it just clicks... So good. Also, I've never written cleaner code before. -
The thing I love about FP/pure functions is that everything is isolated. You only need to break your head at solving the problem at hand, and the rest are problems for later.
It works in your head, it works in your unit testing kit. It works for your planning/kanban. It works for your procrastination/work switching. It just fucking works and its amazing.
Related Rants
I'm learning functional programming for the first time with Elm and I kinda like it, it's just so different from what I'm used and kinda refreshing. My brain is getting a bit twisted though... I'll probably need a few weeks/months to adjust the way I think about code, but I'm liking the mental exercise so far, loving those moments where stuff just "clicks".
rant
functional programming