WingNews logo WingNews
top | new | best | ask | show | jobs
top | item 23486183

(no title)

dhekir | 5 years ago

ACSL (https://en.wikipedia.org/wiki/ANSI/ISO_C_Specification_Langu...) for C, which is based on JML (https://en.wikipedia.org/wiki/Java_Modeling_Language) for Java, both use 'requires' for preconditions, 'ensures' for postconditions, and 'invariant' for invariants. Some invariants are also written as assertions ('assert').

discuss

order

No comments yet.

powered by hn/api // news.ycombinator.com