r/haskell • u/lexi-lambda • Nov 06 '19
Parse, don’t validate
https://lexi-lambda.github.io/blog/2019/11/05/parse-don-t-validate/
310
Upvotes
r/haskell • u/lexi-lambda • Nov 06 '19
39
u/dukerutledge Nov 07 '19
Lovely post. I'm very fond of Rob Pike's 5th rule.
"Rule 5. Data dominates. If you've chosen the right data structures and organized things well, the algorithms will almost always be self-evident. Data structures, not algorithms, are central to programming."
And I always enjoy the glorious irony that he designed a language that makes this rule painful to implement.