The Bike Shed

352: Case Expressions



August 30th, 2022  •  32 mins 23 secs  •  Download (35.2 MB)  •  Link with Timestamp

RSS Feed

As developers, we care a lot about code quality. How do we know how good is good enough? When do we stop improving code? Alternatively, when working on code that's really bad, how much do you improve it before calling it a day? thoughtbot's Stephanie Minn joins Joël to chat about this and case expressions: We recently discussed these as part of thoughtbot's RubyScience reading group. Are case expressions bad? Are they equivalent to multi-way conditionals? When do you use polymorphism?