From: Clifford Heath Date: 2007-11-22T02:40:01+09:00 Subject: Re: False positives in editing data RichardOnRails wrote: >>>> sName =~ /^([\d]+)?\.?([\d]+)?\.?([\d]+)?\.?/ >> sName > > Did you draw attention to this because of the Hungarian notation? If > so, do you think I'm unwise to adopt the style once advocated by > Charles Simoni, super-programmer and co-founder of a giant software > company? Yes. Adamantly, and definitely yes. I might have been a bad idea when he had it, even though to his credit he was trying to make the best of a bad situation, where MS had bought the worst C compiler on the planet because the good ones weren't for sale - they could make more money *not* selling to MS. Because of a spate of bugs and bad code churned out by the MS software factory, many caused by type mismatches on function parameters that weren't detected either at compile time or at runtime, Hungarian notation *might* have been a good idea once. It's definitely *not* a good idea with modern C, and even less of a good idea with Ruby. Clifford Heath.