[Omaha.pm] Cool Hash Count Shortcut

Jay Hannah jay at jays.net
Tue Aug 16 15:55:37 PDT 2005


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....



More information about the Omaha-pm mailing list