This seems like a hack.  If you really need code like this, please include a comment explaining what it is doing.