Stuart Halloway - Narcissistic Design
Why Hacker News recommends it
HN commenters love it as a witty and insightful tour of design anti-patterns, applicable to DSLs, OOP and API design.
What it is
Stuart Halloway's satirical talk describes how to protect yourself from industry change by spreading complexity through systems while following idiomatic practice. It uses this inversion to catalog software design anti-patterns.
Recommended by 4 HN commenters across 4 different months, 2018 to 2021.
What Hacker News said
Strong rec ajss · 2018-08 · on “How to Write Unmaintainable Code (2017)”
Along a similar line, I love Stuart Halloway's talk on Narcissistic Design - [this video] Prefer APIs over data. Start with DSLs. Always connect (and never enqueue). Create abstractions for information. Use static typing across subsystem boundaries. Put language semantics on the wire. Write lots of unit tests. Leverage context. Update information in place.
Strong rec smnplk · 2018-11 · on “The faster you unlearn OOP, the better for you and your software”
Reading some of the comments here reminded me of a great talk by Stuart Halloway called Narcissistic Design.[1] [1] [this video]
Recommends echlebek · 2021-03 · on “I don't want to learn your query language (2018)”
Nobody seems to have posted Stuart Halloway's Narcissistic Design yet, so I'll just leave this here. [this video] Has some great insights and quips. "Nothing says 'screw you' like a DSL"
Recommends blacktriangle · 2021-07 · on “SQLBolt – Interactive lessons and exercises to learn SQL”
[this video] This talk goes into many anti-patterns, but he gets to the real problem with SQL, that it is ONLY a DSL and lacks either an API or a fundamental information model to program against. Composability when working with a DSL is a nightmare. I also have been moving away from ORM to directly writing SQL, but lets be honest about the reasons that programmers are wary of working directly with SQL as they are legitimate issues.