Paul mentioned a PHP annoyance on his blog, so I'll add to the list with somehting a bit more fundamental. Why isn't null interpreted as an empty array by foreach and other array operators? I find myself writing $list=array() as a failsafe throughout my code. This kind of book-keeping code is out of place in a dynamically typed language.
Rigidly defined areas of doubt and uncertainty.
Tuesday, August 03, 2004
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment