I'm going through a training program at work related to data science, and next up is functional programming in Python.
I'm pretty good at Python, and I've used some FP patterns in various languages, but I figured the best way to understand this different paradigm is to use a language that's designed for it. So I'm learning Haskell:
Turns out I'd only barely scratched the surface of FP in my previous work. I had used some of these patterns before but there was almost always imperative logic mixed in there.
It's a bit like trying to learn a new set of tools, while constantly reaching for the old set of familiar tools that are not there.
I'm pretty good at Python, and I've used some FP patterns in various languages, but I figured the best way to understand this different paradigm is to use a language that's designed for it. So I'm learning Haskell:
Turns out I'd only barely scratched the surface of FP in my previous work. I had used some of these patterns before but there was almost always imperative logic mixed in there.
It's a bit like trying to learn a new set of tools, while constantly reaching for the old set of familiar tools that are not there.