Spec-ulation Keynote - Rich Hickey

Channel:ClojureTV · Length:1:16:13 · Published:2016-12-02 · Views:135752

Watch on YouTube

Summary

Rich Hickey's keynote on software versioning, arguing that breaking changes are the real problem and that libraries should only grow by providing more and requiring less. It critiques semantic versioning and ties into Clojure spec.

Why HN recommends it

HN returns to it in every versioning and API stability debate as a challenging, contrarian talk worth watching.

Whenever an idea about API versioning springs into mind it is always worthwhile to watch Rich Hickey's Spec-ulation talk — HN, 2017

Functional programming · Software architecture & design

Subtitles (excerpt)

hi everybody hear me oh yeah uh once again it's fantastic to come to the con and see everybody old friends and all the new faces and everybody being so happy that's really great I think uh you know it's just so important to revisit the fact that the community is a positive one that's you know full of optimistic people or crazy people who are like willing to try this new stuff and and do things in a way that uh that's different um and to help out other people who are similarly optimistic or crazy uh so this talk is called speculation and uh that's just a way of covering the fact that it's a rant um so I think we have a few talks about spec and there was a spec workshop and uh so this is not a talk about spec it's not a tutorial about spec it's not about the tech of spec sort of in any way um but it is very much a talk about what spec is about because I'm not sure um when you look at spec and especially when you hear a talk and you see you can do this and you know it's a floor wax it's a dessert top in um that it's evident necessarily uh that particularly that some of the design decisions are pointed at these these two things uh which seem to not say very much at all one is that spec is about being able to give something to someone so that they can use

On Hacker News

To anyone who's interested in this topic, I strongly recommend this talk from Rich Hickey about "giving something to somebody that they can use and making a commitment ": Spec-ulation ( [VIDEO] ) — finalfantasia, 2019-10
Whenever an idea about API versioning springs into mind it is always worthwhile to watch Rich Hickey's Spec-ulation talk, [VIDEO] for an alternative view of the world. — smackay, 2017-08
This talk [1] by Rich Hickey seems more pertinent than ever. It's a contrarian stance on semver (which, almost as much as vc itself, is lauded as "the Right way" among developers). He definitely challenged my beliefs, it's likely to be worth your time too. [VIDEO] — sooheon, 2016-12
This is all excellent, and I'll add one more sub point to "Avoid becoming a bottleneck at all costs": - Be backwards compatible. If you need to break backwards compatibility, advertise it widely and put your people towards the migration. Otherwise, only expand the abilities of components, never remove them and only require less, never require more. If you want to remove from what you give or ask … — svieira, 2024-09
The two are not mutually exclusive. Clojure has namespaced keywords and specs[0] to cover that. (There is also the third-party malli, which takes a slightly different appproach.) The advantage is that maps are extensible. So, you can have middleware that e.g. checks authentication and authorization, adds keys to the map, that later code can check it directly. Namespacing guarantees nobody stomps … — lvh, 2021-08

Related videos