Ruby Conf 2013 - Eliminating branching, nil and attributes - let's get weird

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=inU7MEtI51g



Duration: 37:57
1,756 views
14


By David Copeland


Although "being OO" isn't an end unto itself, we can often learn a great deal about programming by taking things to the extreme. Branching, nil checks, and attributes are not very "OO" and are often the source of great complication in our code. What would our code look like if we did everything we could to avoid them?

In this talk, we'll create some odd-looking constructs and write some weird code in an attempt to understand just how useful branching, nil, and attributes really are. Do these constructs make our code easier to read and understand, or are they vestiges from our shared programming backgrounds like C, PHP, and Java?

Help us caption & translate this video!

http://amara.org/v/FG5G/




Other Videos By Confreaks


2013-12-07Nickel City Ruby 2013 Lightning Talk Rails Engines in Large Apps by Enrico Teotti
2013-12-07Nickel City Ruby 2013 Lightning Talk Active Support Secrets by Prem Sichanugrist
2013-12-07Nickel City Ruby 2013 Lightning Talk Maintain or Enhance Self-Esteem by John Lange
2013-12-06Ruby Conf 2013 - Opal, A new hope (for Ruby programmers)
2013-12-06Ruby Conf 2013 - Promiscuous: A robust service-oriented architecture framework
2013-12-06Ruby Conf 2013 - Being Boring: A Survival Guide to Ruby Cryptography
2013-12-06Ruby Conf 2013 - Maintaining Sanity by Nathaniel Talbott
2013-12-06Ruby Conf 2013 - Question for Matz
2013-12-06Ruby Conf 2013 - Bad Ruby code doesn't exist
2013-12-06Ruby Conf 2013 - Your Development Machine in the Cloud by Charles Wood
2013-12-06Ruby Conf 2013 - Eliminating branching, nil and attributes - let's get weird
2013-12-06Ruby Conf 2013 - Becoming a Software Engineer: Inspiring a New Generation of Developers
2013-12-05Ruby Conf 2013 - The Polyglot in the Code - An Elixir/Ruby Mashup
2013-12-05Ruby Conf 2013 - Visualizing Garbage Collection in Rubinius, JRuby and Ruby 2.0
2013-12-05Ruby Conf 2013 - API design for gem authors (and users)
2013-12-05Ruby Conf 2013 - Mangling Ruby with TracePoint by Mark Bates
2013-12-05Ruby Conf 2013 - Build your own Ruby-powered Arcade Machine!
2013-12-05Ruby Conf 2013 - That's Not Very Ruby of You by Ernie Miller
2013-12-05Ruby Conf 2013 - The tricky truth about parallel execution and modern hardware
2013-12-04Ruby Conf 2013 - Thinking about Machine Learning with Ruby by Bryan Liles
2013-12-04Ruby Conf 2013 - Recommendation Engines with Redis and Ruby by Evan Light