Hacker News new | ask | show | jobs
by FabHK 3082 days ago
You might have bugs in the real world that are caused by language features or idiosyncrasies that are visible in this artificial, small (thus more easily understood) toy example.

I often find these toy examples or trick questions (also in the context of C++ inheritance, for example) very instructive.