Is D 0.163 D 1.0?

Chris Nicholson-Sauls ibisbasenji at gmail.com
Tue Jul 25 12:43:08 PDT 2006


Don Clugston wrote:
> Nooooooooo!!!!
> Am I the only person who has hundreds of local variables called 'var'?
> (mostly variants in Win32 code).
> 
> A quick google search for 'var cpp' showed a million hits, a fair chunk 
> of them are local variables in C++ code. It's a very popular variable name.

Actually I do feel your pain, but I still vote for it.  Waaay back in the day I used to do 
a lot of LambdaMOO server hacking, and therein I discovered my first Var struct.  (That'd 
be about 1996 I think it was.)  Now, ten years later, I am working on BovisMOO... and I'm 
still using a Var struct (albeit a much cleaner one), and plenty of temporary Var's named, 
yes, 'var.'

But I can always just rename them to 'tmp', or something else.  (Actually a lot of them 
would probably get renamed 'result' since that's what they generally are.)

-- Chris Nicholson-Sauls



More information about the Digitalmars-d mailing list