Hacker GitHub

← All repos

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

Mentions per year 4 mentions · busiest year 2016 (2)
20082026
  1. …(i wrote this) And another alternative is to use Design by Contract, like Eiffel: https://github.com/codemix/babel-plugin-contracts (also me)
  2. …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 -…
  3. …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