On Thursday, 22 June 2017 at 19:11:19 UTC, Cym13 wrote:
Here it's the programmer's fault really. You should never use
casts in normal code, cast is the ultimate switch to say "Look,
I know what I'm doing, so disable all safety, don't try to make
sense of it, and let me do my thing. If I'm telling you it's a
cat, then it is dammit.". You can't blame the type system not
to do something coherent here, you explicitely went out of your
way to lie to that very same type system in the most unsafe way
possible.
We're on the same page, I just think that ability to lie is part
of the type system, that's all.