Unconditional Code • Michael Feathers • GOTO 2018
Channel:GOTO Conferences · Length:44:18 · Published:2018-05-09 · Views:61122
Summary
Michael Feathers' GOTO Chicago 2018 talk on reducing error checks and conditional logic in code. He offers a framework for handling errors and decisions at the level of code and architecture.
Why HN recommends it
HN recommends it for the idea of giving data instead of asking for it, and ties it to zero values and exception-free design.
giving data instead of asking for data avoids error conditions — HN, 2020
Software architecture & design · Software practice, open source & careers
Subtitles (excerpt)
[Music] now I can talk okay so as I was saying was kind of interesting to follow Dave Thomas as he speaks about legacy code because that's the hint thing ie deal in the industry but this is a different thing okay and it's um it's kind of interesting that there are a lot of things that we just don't really question very much in software development and I think we're starting to go in question some of them a bit more for interest prints uh for instance at this conference there were two sessions on error handling okay that were nice to see because I felt like error hailing you spend one of those topics that you know we kind of know about we kind of do it but we don't really sit down and think about it systematically and so a lot of this material just kind of started with that frame of like you know what can we do about error handling right and I kind of carry on things into like how do we start to like remove conditionality and code and things along those lines so that's where this title is about unconditional code the thing is what I want to do is start to question a couple of things okay what can go wrong with this piece of code here not even tell you what language it's in can anything go wrong with us yeah lots of things right oh
On Hacker News
I was watching this the other day: [VIDEO] Unconditional Code by Michael Feathers One solution to this problem is discussed toward the middle: giving data instead of asking for data avoids error conditions. Doing so pushes use of the data farther down the call tree and pulls acquisition up near the top, where we are closer to the user and thus able to more clearly decide what if anything to do ab… — hinkley, 2020-02
Blockchains Are a Bad Idea (James Mickens) [LINK] I find almost all from GOTO 2018 very insightful. [LINK] esp ones listed below. GOTO 2018 • The Do's and Don'ts of Error Handling • Joe Armstrong [LINK] GOTO 2018 • Pragmatic Event-Driven Microservices • Allard Buijze [LINK] GOTO 2018 • Why Business Cases are Toxic • Chris Matts [LINK] GOTO 2018 • Unconditional Code • Michael Feathers [VIDEO] — raghava, 2018-12
Please no on the Universal nil. Meaningful zero values for types are essential. It may be confusing to some that nil is a valid zero value for some types and not others, in which case that needs to be refined, but having a type that can either be a value, a zero value, or a nil introduces complexity where there should be simplicity. Having a zero value enables, for example, Unconditional Programm… — cratermoon, 2021-10
Related videos
- The Do's and Don'ts of Error Handling • Joe Armstrong • GOTO 2018 · GOTO Conferences · 45:31
- Blockchains Are a Bad Idea (James Mickens) · HBS Digital Initiative · 14:34
- "Simple Made Easy" - Rich Hickey (2011) · Strange Loop Conference · 1:01:38
- Do these scatter plots reveal fraudulent vote-switching in Michigan? · Stand-up Maths · 18:15
- Origins of Precision · Machine Thinking · 30:32
- Why do prime numbers make these spirals? | Dirichlet’s theorem and pi approximations · 3Blue1Brown · 22:20
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- "Making Impossible States Impossible" by Richard Feldman · elm-conf · 25:06
- 🚀 TDD, Where Did It All Go Wrong (Ian Cooper) · DevTernity Conference · 1:03:55
- 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
- Bret Victor The Future of Programming · Joey Reid · 32:55
- Overwatch Gameplay Architecture and Netcode · GDC Festival of Gaming · 1:04:03
- Solving Problems the Clojure Way - Rafal Dittwald · Clojure/north · 1:02:26
- Lecture 1A: Overview and Introduction to Lisp · MIT OpenCourseWare · 1:12:55
- Alan Kay - Normal Considered Harmful · powerfuloutlet · 1:07:26