Hacker News new | ask | show | jobs
by vidarh 3203 days ago
Check out Eiffel if you want a serious version of pre/post conditions and invariants. Or any number of functional languages where the approach tends to be to use the type system for these type of guarantees instead.