[Newbies] Efficient date parsing

Ramon Leon ramon.leon at allresnet.com
Thu Apr 3 05:49:12 UTC 2008

> Yeah, shortly after I posted that, I remembered that. :)
> Also, for the beginners. you need to initialize dateCache to 
> a Dictionary.
> the normal way to do that is to have an instance side method called
> #initialize:
>         initialize
>                 super initialize. "NEVER NEVER leave this out"
>                 dateCache := Dictionary new.
> When you save this, squeak will ask "I dunno dateCache", and 
> you should make it an instance variable.
> --
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - 

Unless you're doing a class side #initialize, in which case you don't want
to call super initialize.

Ramon Leon

More information about the Beginners mailing list