009 RR What Makes Beautiful Code




The Ruby Rogues show

Summary: Panelists Avdi Grimm (twitter github blog book) Charles Max Wood (twitter github Teach Me To Code Rails Summer Camp) James Edward Gray II (blog twitter github) Josh Susser (twitter github blog) Peter Cooper (site twitter github The Ruby Show Ruby Inside) David Brady (blog twitter github ADDcasts) Mentioned in this Episode Ruby-Chan Why Beautiful Code? You know your code is written correctly by looking at it. Knots metaphor - If it’s shaped right, you know it’ll hold. The shape in your mind matches the shape on the page Evaluating code: Eric Hodel - Audio evaluator of code rubygems-sing Reveals the intention to someone Practices: 80 character limit 1 statement per line Comments are code smells Red-green-refactor Engage more senses-use more parts of the brain Short functions/methods Morph the language into the language of the problem domain (DSL’s) Dave’s post on Dishonest code Picks Laser (Peter) Laser Thesis (Peter) Minitest (Dave) Minitest/spec (Dave) Simplecov (Dave) hasmanythrough.com (James) virtuouscode.com (James) The Psychopath Test (James) Dropbox (Chuck) metric_fu (Chuck) metrical (Dave) fixture_builder (Josh) cast of characters pattern (Josh) vivo barefoot shoes (Josh) guard (Avdi) Object-Oriented Programming: An Objective Sense of Style (Avdi)