3 ms·
Looks pretty interesting. Are there any other, more popular languages with such explicit support for tests and contracts?
by endtime 16y ago
Looks pretty interesting. Are there any other, more popular languages with such explicit support for tests and contracts?
- jacques_chester 16y agoThe author mentions D as a language with these, but if I read it correctly, believes that his support for contracts is superior. Eiffel was the original source of design-by-contract.
- nickik 16y agoClojure has support. Another place where the metadata (http://clojure.org/metadata http://clojure.org/metadata) comes in handy. And since Clojure is a lisp you get an nice DSL to work with it: https://github.com/fogus/trammel https://github.com/fogus/trammel Don't put stuff in your language make your language easy to expand it.