4 ms·
For another cool CoffeeScript "dialect", see Contracts: http://disnetdev.com/contracts.coffee/ http://disnetdev.com/contracts.coffee/ It's a great way to writ
by jnbiche 15y ago
For another cool CoffeeScript "dialect", see Contracts:
http://disnetdev.com/contracts.coffee/ http://disnetdev.com/contracts.coffee/
It's a great way to write defensive code for those of us who find writing regular unit tests a little onerous even (if they are often necessary). I'm planning on using it in all my CoffeeScript, up to -- but not including -- generated production Javascript.