[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Omaha.pm] Cool Hash Count Shortcut
On Aug 16, 2005, at 3:05 PM, Kenneth Thompson wrote:
The cool part about this is the key won’t exist unless there is at
least one room type being requested in my batch or requests – it gets
added automagically as it’s found.
Indeed. Autovivification is good*.
http://www.awprofessional.com/articles/article.asp?p=28513&rl=1
"This article explains autovivification, and shows you how to use it
to be lazy."
Laugh,
j
* Usually. 'specially for black hats like me....