Tuesday, July 7, 2009

Sentinel States and Irritable Iteration

I'm getting real annoyed with return value contracts like "returns a typed value if possible, or a T object" and "returns an array of U objects, or FALSE on failure." That's not what dynamic typing is for! I'll check for a failure code in the object. Just give me a return value I can iterate through!

No comments:

Post a Comment