163 karma · joined January 19, 2015
A "pure" function is one whose result is simply based on its inputs, no dependency on external state/IO etc. Same inputs, same outputs guaranteed.
These types of functions, are really easy to reason about and unit test. State is often messy.
Writing good Haskell always seemed harder to me than something like Python. The amount I'd have to think before beginning to type was a lot, but it always seemed worth it, as there was always potential always for a beautiful solution to any problem.
As a result, before I write code in any production language I give a little more thought to what I'm about to write, which I think ends up with a better result.
Heck, even if Haskell just gave a developer an appreciation for basic functional programming, that would be something that will benefit them for years in my view.
[0] https://tomaugspurger.github.io/pandas-extension-arrays.html
Disclosure: I work for Bank of America.
Did your setup ultimately prove useful in writing your book? Or did you give up part way through and that helped you get to the task of actually writing?
I've started to number these myself in my own ticket system where I keep scripts, screenshots and logs etc. but I'm using OneNote, because it's so unrestrictive.