From: Mike Fletcher Date: 2006-01-21T04:08:07+09:00 Subject: Re: Hungarian Case variable names. Zach wrote: [...] > Does anyone see advantages to using Hungarian Case to variable names in > Ruby, or do you think it may hinder as some people call "accidental > abstraction" [Bill Davis] ? Since Ruby is big with "Duck Typing", would > using Hungarian Case be more of a verbal obstacle than a more > descriptive variable. What about varying degrees, such as for integers, > doubles, strings, and o for Objects, but not exhaustive? > > (For those who don't know about Hungarian typing, it would similar to an > integer you would name "counter" being named "iCounter" or a variable > you would normally name "duck" be "oDuck" because it is an object) See this article on what Hungarian notation really was meant to help with (it was meant to provide semantic type (this value is used for X) not data type (this value is an int)). http://www.joelonsoftware.com/articles/Wrong.html -- Posted via http://www.ruby-forum.com/.