Programmer, economist, author, speaker, weight lifter, Bitcoin enthusiast. Born in ๐บ๐ธ, living in ๐ฎ๐ฑ ืขืืจื ืืขื ื' ืขืืฉื ืฉืืื ืืืจืฅ
The more time I spend teaching imperative/OOP programmers Haskell and Rust, and the more experience I get with FP-adjacent languages like TypeScript, the more I believe the true paradigm shift is expression-oriented programming.
Anyone interested in having the @FPComplete Applied Haskell course on Coursera? I've never done that before, but open to giving it a shot if there's demand. Please thumbs up the issue if you're interested!
If function A generates some data, and function B consumes it. And function B has some precondition on the data that isn't expressed in the type. Odds are, at some point, you're going to have a bug.
I just wrote my first Rust web service. It burns through 100% CPU, randomly panics, eats up memory, and has terrible output. Also, it's a stress testing tool for our DevOps infrastructure, so those are features, not bugs ๐
Rediscovering an old Haskell lesson in Rust: the price you pay upfront for wrapping up raw Strings in newtype wrappers will pay 10x dividends very quickly.