Adam Block wrote:
> I know casting is bad.

<pedant>
This is probably coercion, not casting. The latter I tend to associate 
with conversion between almost-but-not-quite-compatible and 
maybe-but-we-can't-tell-until-we-try-compatible types.
</pedant>

David Vallner