logoalt Hacker News

pfdietztoday at 3:17 PM0 repliesview on HN

> Uh, isn't that exactly what happens with runtime type checking?

No, it raises an exception, which you can handle. In some cases one can even resume via restarts. This is versus C, where a miscast pointer can cause memory corruption.