Why the type cast here (and more of them above)? The result of a comparison is always a boolean, isn't it? Legibility?