Friday, July 11, 2008

IsHit

Yesterday, I came within moments of sending a partner an email explaining that the new property they should request on an existing API was to give each object an .IsHit property. Because .IsHit would tell them whether the object itself had been the result of a search, or the object's children. There could still be a collection associated with the object to show which children were hit, and it could include itself in that list, but even then, an .IsHit property would be convenient. But fortunately, I like to proofread, and quickly changed all of them to .HasData.

No comments: