> What you are describing is a scenario where the unknown values may not > be understood, and their values are rational and important. In these > scenarios good tutorials should avoid arbitrary references placeholders > and use more descriptive examples. > > Example: > > def foo > bar = 10 > baz = 5 > foobar = bar + baz > end > > In such an example the meaning should be clear because the placeholders > are truly arbitrary and unimportant. Any attempt to assign meaning to > the variable severs no apparent purpose.
Very good point. I don't have a problem with them in those kind of very trivial examples, but once things start getting more complex, the use of foobar just makes it harder to understand. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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 http://groups.google.com/group/rubyonrails-talk?hl=en.

