Wrong confirmation ID
  • Email
  • Favorite
  • Download
  • Embed
  • Private Content

Loading…

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

The Revenge of method_missing()

by paoloperrotta on May 30, 2011

  • 1,955 views

Slides of my presentation at EuRuKo 2011 in Berlin.

Slides of my presentation at EuRuKo 2011 in Berlin.

Accessibility

Categories

Tags

euruko methodmissing ruby metaprogramming

Upload Details

Uploaded via SlideShare as Apple Keynote

Usage Rights

© All Rights Reserved

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel

6 Embeds 25

http://lanyrd.com 16
http://twitter.com 4
https://twitter.com 2
http://tweetedtimes.com 1
http://a0.twimg.com 1
http://184.72.218.145 1

Statistics

Favorites
6
Downloads
0
Comments
4
Embed Views
25
Views on SlideShare
1,930
Total Views
1,955

14 of 4 previous next Post a comment

  • paoloperrotta paoloperrotta That's totally reasonable, and I had similar feedback from Matz himself - so next time I deliver the speech, I'll make it clear that you can make it work. :)
    My point is that getting it right in the first place is enough work that the alternative (define_method()) turns out to be easier in general.
    1 year ago Reply
    Are you sure you want to Yes No
  • etiennebarrie etiennebarrie Yep the presentation was very good on these pitfalls (and funny), it's just that I don't like to see code not working when it could work :) 1 year ago Reply
    Are you sure you want to Yes No
  • paoloperrotta paoloperrotta Agreed (Matz also called my attention to this). My point is not that you cannot make it work - you can, but the solution is complicated enough, and the pitfalls along the way slippery enough, that my final decision is not to use method_missing() in most cases where I can use define_method() instead. 1 year ago Reply
    Are you sure you want to Yes No
  • etiennebarrie etiennebarrie https://gist.github.com/997005 is a way to make it work 1 year ago Reply
    Are you sure you want to Yes No
Post Comment
Edit your comment Cancel

The Revenge of method_missing() — Presentation Transcript