17 May 22:03
Re: Select and how to read the api
From: Phlip <phlip2005@...>
Subject: Re: Select and how to read the api
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-05-17 20:03:43 GMT
Subject: Re: Select and how to read the api
Newsgroups: gmane.comp.lang.ruby.rails
Date: 2008-05-17 20:03:43 GMT
>> (And note to whoever named a method 'select' - please don't!!!) > Why not use 'select'? It works fine. Because programs must share a large namespace in memory, and a larger one in our brains. 'select' is already used by Array, certain network sockets, and (in some languages) a keyword. Primitive things should have primeval names, such as 'select', and complex & specific things should have decorated names. If all the other Rails HTML generators end in _tag, then select_ should too! --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk@... To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@... For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
RSS Feed