Hi --

On Tue, 24 Jan 2006, Kevin Olbrich wrote:

> James Britt wrote:
>> Mark Probert wrote:
>>> much more readable.  Verbosity can be a real impediment to readability.
>>>
>>
>> Well, readability and communication are key.
>>
>> James
>
> An interesting concept for functional apps (or system) Hungarian in
> Ruby.  It would be pretty easy to set up the missing_method function to
> extract out certain tags from a variable name.
>
> For example,
> assume you have a model with an attribute called 'Text'

(A class with an attribute called "text"?)

> you could set up missing_method to pick up 'iText' and return
> 'Text.to_i' or 'hText' could return 'h(Text)' etc...

Why not just call to_i or h in the first place? :-)


David

-- 
David A. Black
dblack / wobblini.net

"Ruby for Rails", from Manning Publications, coming April 2006!
http://www.manning.com/books/black