3 ms·
Before I learned about functional programming I found that I'd break a task down until I found a pure functional core that transformed data from one form to ano
by mcintyre1994 5y ago
Before I learned about functional programming I found that I'd break a task down until I found a pure functional core that transformed data from one form to another. I'd try to separate that from all the imperative and async stuff going on, and all the validation. It sometimes meant my Python programmes looked a bit weird, but I found that when I managed to do that I'd reached a point where I really understood the problem space and what I was trying to do.
Unsurprisingly when I learned functional programming I found that it was a great match for the way I think, or at least the big picture way I approach programming. I doubt it's how all programmers think, but it's definitely the way I do.