Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Cult of Magical Thinking

Avatar for bguthrie bguthrie
September 30, 2011

The Cult of Magical Thinking

There's no such thing as "magic code". There's just stuff you don't understand, that's surprising or obfuscated or weird. Stop basing your responses to those things on emotions, and start fixing them.

Avatar for bguthrie

bguthrie

September 30, 2011
Tweet

Other Decks in Programming

Transcript

  1. magic not magic Ruby on Rails J2EE Automatic Garbage Collection

    Takin’ out the trash Macros Plain Ol’ Methods Dependency Injection “Call me, call me anytime” - Blondie 2006 1995 1973- Present Day Me, Now
  2. magic not magic Ruby on Rails J2EE Automatic Garbage Collection

    Takin’ out the trash Macros Plain Ol’ Methods Dependency Injection “Call me, call me anytime” - Blondie 2006 1995 1973- Present Day Me, Now
  3. magic not magic Ruby on Rails J2EE Automatic Garbage Collection

    Takin’ out the trash Macros Plain Ol’ Methods Dependency Injection “Call me, call me anytime” - Blondie 2006 1995 1973- Present Day Me, Now
  4. magic not magic Ruby on Rails J2EE Automatic Garbage Collection

    Takin’ out the trash Macros Plain Ol’ Methods Dependency Injection “Call me, call me anytime” - Blondie 2006 1995 1973- Present Day Me, Now
  5. magic not magic Ruby on Rails J2EE Automatic Garbage Collection

    Takin’ out the trash Macros Plain Ol’ Methods Dependency Injection “Call me, call me anytime” - Blondie 2006 1995 1973- Present Day Me, Now
  6. stuff that makes me feel dumb & uncomfortable stuff I

    like and understand Ruby on Rails J2EE Automatic Garbage Collection Takin’ out the trash Macros Plain Ol’ Methods Dependency Injection “Call me, call me anytime” - Blondie 2006 1995 1973- Present Day Me, Now
  7. stuff that makes me feel dumb & uncomfortable i suck

    (but I’m intrigued) you suck (and so does your vacuum)
  8. code that writes code ...that writes code ...that writes code

    ...that writes code ...that writes code
  9. could also be difficult to reason about what conventions? how

    are they coupled? how easy is it to break free?
  10. “The difference between the right word and the almost right

    word is the difference between lightning and a lightning bug.” - Mark Twain
  11. “The difference between the right word and the almost right

    word is the difference between lightning and a lightning bug.” - Mark Twain WRONG WORD
  12. “Sometimes, too much magic is too much magic.” - Cedric

    Beust, 2006 http://beust.com/weblog/2006/04/06/why-ruby-on-rails-wont-become-mainstream/
  13. “the magic of yield blocks and the untyped nature of

    everything” - Some dumb commenter somewhere
  14. 0-6 months 6-12 months 12-36 months 36+ months total noob

    sauce a danger to yourself and others hardened ruby veteran
  15. 0-6 months 6-12 months 12-36 months 36+ months total noob

    sauce total lack of curiousity total noob sauce
  16. 0-6 months 6-12 months 12-36 months 36+ months total noob

    sauce total lack of curiousity total noob sauce You know who you are.