Constraints Liberate, Liberties Constrain — Runar Bjarnason
Channel:Scala World · Length:51:39 · Published:2016-01-04 · Views:44457
Summary
Runar Bjarnason's Scala World talk argues that restraint and precision in components beat power and flexibility. Constraints on parts make them easier to compose into systems.
Why HN recommends it
HN recommends it as a talk that changes how you think about system design, and links it whenever constraints, abstraction or least power come up.
It had a real impact on the way I think about the design of systems. — HN, 2018
Functional programming · Software architecture & design
Subtitles (excerpt)
I want to start kick off this conference by by talking to you about this sort of uh rather counterintuitive thing which is sort of this this tension that I think exists between uh expressive power on one hand and analytical power on the other hand. And as you sort of expand one of those things, you necessarily uh contract uh the other. So, as a as a wee young grounar uh I was programming in Delphi on on Windows. Anybody any Delphi programmers in here? Yeah. All right. So, don't you know why Object Pascal didn't take over the world, I will never know. But um So, yeah, I was you know programming in Delphi on Windows. And uh I was working for a uh publisher of of poetry of all things. And uh and this is the first program I ever sold to anybody. Um And so, one of the things that this thing needs to do was to print out sales reports for the publisher. And it needed to do that on this beautiful piece of machinery right here. Now, unfortunately, at that time, Delphi did not have very good facilities for printing. So, I did what any you know, any hacker would do. I got out the the star.matrix printer reference manual and I just took their SQL tables and I turned it directly into printer control codes over the parallel port.
On Hacker News
I find Runar Bjarnason's talks to be interesting; one of my favourites is 'Constraints Liberate, Liberties Constrain': [VIDEO] The essence of it is that constraints actually allow for easier composition and more modularity. It had a real impact on the way I think about the design of systems. — cinnamonheart, 2018-04
This reminds me of the excellent talk "Constraints Liberate, Liberties Constrain" [VIDEO] that is more about doing the programming rather than planning it as in the article, but with a similar approach. — solidninja, 2024-06
This reminds me of a great talk, Constraints Liberate, Liberties Constrain , by Runar Bjarnason. [0] Useful abstractions necessarily impose restrictions compared to a free-form 'all powerful' approach, but abstractions make it easier to perform/compose meaningful operations. A compiler can reason about an AST far more easily than it can reason about a machine-code sequence, for instance. A compil… — MaxBarraclough, 2024-04
That's a great quote. This topic turned up a couple of weeks ago in another thread. [0] The excellent talk Constraints Liberate, Liberties Constrain , by Runar Bjarnason, gets at the same point, and even uses this same Dijkstra quote. [1] [0] [LINK] [1] [VIDEO] (this takes you right to the Dijkstra quote) — MaxBarraclough, 2024-04
Constraints on the user free the platform. Freedoms for the user constrain the platform. If you are interested in someone pontificating about this at length, see [VIDEO] — clhodapp, 2019-07
Related videos
- Spinning Levers - How A Transmission Works (1936) · US Auto Industry · 9:40
- What nobody tells you about documentation · PyCon AU · 30:52
- The determinant | Chapter 6, Essence of linear algebra · 3Blue1Brown · 10:03
- Doug McLean | Common Misconceptions in Aerodynamics · Michigan Engineering · 48:25
- Zig: A programming language designed for robustness, optimality, and clarity – Andrew Kelley · Recurse Center · 54:13
- Ruby Conf 12 - Y Not- Adventures in Functional Programming by Jim Weirich · Confreaks · 53:21
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- The Soul of Erlang and Elixir • Sasa Juric • GOTO 2019 · GOTO Conferences · 42:02
- "Simple Made Easy" - Rich Hickey (2011) · Strange Loop Conference · 1:01:38
- "Making Impossible States Impossible" by Richard Feldman · elm-conf · 25:06
- William Byrd on "The Most Beautiful Program Ever Written" [PWL NYC] · PapersWeLove · 1:31:05
- How To Design A Good API and Why it Matters · Google TechTalks · 1:00:19
- The Value of Values with Rich Hickey · InfoQ · 31:43
- Why Isn't Functional Programming the Norm? – Richard Feldman · Metosin · 46:09
- Overwatch Gameplay Architecture and Netcode · GDC Festival of Gaming · 1:04:03
- Maybe Not - Rich Hickey · ClojureTV · 1:03:28