codemix/babel-plugin-contracts
View on GitHub ↗ ★ 267 JavaScript
Design by Contract for JavaScript via a Babel plugin.
4 mentions on Hacker News by 1 person: 1 story, 3 comments · first 2015-12-01 · latest 2017-04-22
20082026
-
…(i wrote this) And another alternative is to use Design by Contract, like Eiffel: https://github.com/codemix/babel-plugin-contracts (also me)
comment by phpnode · 2017-04-22 · in Forall.js: Idris-like static types and invariant checks for JavaScript -
…to JavaScript, squeezing it into existing JS syntax (the result is really similar to Eiffel) - https://github.com/codemix/babel-plugin-contracts and here's what it looks like in a reasonably complicated program -…
comment by phpnode · 2016-08-07 · in RDL: a lightweight system for adding contracts to Ruby -
…console.log(i); } along with other kinds of contract, like preconditions and postconditions - https://github.com/codemix/babel-plugin-contracts
comment by phpnode · 2016-02-29 · in Loop Invariants -
▲ 9
Show HN: Design by Contract for JavaScriptstory by phpnode · 2015-12-01 · 1 comment