On Tue, Jul 24, 2012 at 8:08 PM, Nick R. <[email protected]> wrote: > OK, so how big is too big for a lambda? > > In general, I hate lambdas. Seems to me like almost always, > you can come up with something more straghtforward, more debuggable, > more testable, more readable, etc. But... Please chime in with your > opinion. A few lines? Up to 10 lines? The bigger the better (can you > say "job security"?)? Bring it on!
I'd say similar rules as for methods apply - maybe a tad shorter. 109 lines for a method is very long - especially in Ruby. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ -- You received this message because you are subscribed to the Google Groups ruby-talk-google group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at https://groups.google.com/d/forum/ruby-talk-google?hl=en
