PurelyFunctional.tv Newsletter 294: Ions, Elm, Reason
From OO to Clojure Workshop!
Watch my free workshop to help you learn Clojure faster and shift your paradigm to functional.
Please enjoy the issue.
PS Want to get this in your email? Subscribe!
I'm sorry to say it, but it won't be happening in 2019. I'm deliberately leaving 2020 open. This post talks about why, and the future of Clojure SYNC.
Bruce Hauman was interviewed on the REPL podcast. Great stuff from someone who has truly increased our ability to develop applications in a live and interactive way.
António Monteiro (creator of Lumo) presents ReasonML. It's a good talk about an interesting project from Facebook. Facebook is doing amazing things for functional programming.
Rich Hickey on Datomic Ions YouTube
Rich Hickey gave a whopping 1.75 hour talk about Datomic Ions. I don't know if the facts in this talk are different from what you see in other talks about Ions. However, I really like tracking the messaging around it. What's new about this talk is that Rich is trying to show how small the interface to Ions is. He does so without omitting the hard work happening behind the scenes. Ions is turning out to be a really cool way to deploy Clojure code in the AWS cloud.
I have this talk at Clojure/West 2017. I love property-based testing, so it was great to be able to introduce people to it. I'd love to make a course about this. If you're interested, please reply and let me know.
Jarppe Länsiö talks about complexity in software. I love the idea of marking a red dot everywhere you access mutable state. And also the idea minimizing conditionals. Both are sources of complexity that functional programmers try to avoid.
Adam Tornhill shows how you can analyze git commits to see where you will benefit most from refactoring and cleaning up code.
Annaia Berry gives a humorous talk about the dangers of effective tools. Be careful. You might create stable software very quickly and put yourself out of a job.
Clojure Collections Currently recording
Sometimes I think that this course must be boring and unnecessary. Do we really need to talk about the speed of doing a lookup in a HashMap? Do we really need someone to document the "Index Usage Pattern"?
However, the more of this course I record, the more I see that this is necessary. Experienced Clojure programmers know these things intuitively, and the best way for beginners to get better is to understand these patterns.
New lessons this week
- Index Usage Pattern
- this is really four-in-one. The Index Usage Pattern is the one we all think of when we think of HashMap: convert a key to a value. But we go over three variations that Clojure programmers use regularly.
- Tuple Usage Pattern
- tuples are used in many libraries, including Clojure's core library. We talk about when to use them and—more importantly—when not to use them. We also look at the Variant Tuple variation.
- Multi-comparison Usage Pattern - did you know you can use Sets to do a fast equality comparison on many values?