Hacker News new | ask | show | jobs
by nine_k 3006 days ago
These constraints should ideality be in the type system, or other statically checked constraints.

Most OO languages have type systems not fitting for such checks, though. Thus runtime checks, often a part of a setter.