From: James Britt Date: 2006-01-21T03:51:50+09:00 Subject: Re: Hungarian Case variable names. dblack@wobblini.net wrote: > > Tagging variables based on the class of the objects to which they > refer seems to me to be aggressively anti-duck-typing. It's also ugly > :-) I think I'll stick with the traditional style. > Class and object names should be clear enough to reflect what that are and what they are for. Ideally no one is still trying to conserve space or finger power by naming things 'c' or 'x' or 'ssn' except for very targeted use (e.g., short-scoped disposable values). If you have a variable that refers, say, to an instance of a class representing a hotel reservation, name it as such: current_hotel_reservation. Not hr_curr or the like. James -- http://www.ruby-doc.org - Ruby Help & Documentation http://www.artima.com/rubycs/ - The Journal By & For Rubyists http://www.rubystuff.com - The Ruby Store for Ruby Stuff http://www.jamesbritt.com - Playing with Better Toys http://www.30secondrule.com - Building Better Tools