Hacker GitHub

← All repos

gcanti/tcomb

View on GitHub ↗ ★ 1,877 JavaScript archived

Type checking and DDD for JavaScript

15 mentions on Hacker News by 9 people: 2 stories, 13 comments · first 2014-09-08 · latest 2018-08-08

Mentions per year 15 mentions · busiest year 2016 (6)
20082026
  1. How does this differ from something like https://github.com/gcanti/tcomb ?
  2. There's a fair bit of work in this area that leverages Flow type syntax, e.g: - https://github.com/gcanti/tcomb - https://github.com/gcanti/io-ts (for typescript) - https://github.com/codemix/flow-runtime (i wrote this) And another…
  3. …out: tcomb[0] which can let you use your Flow types at runtime for eg; pattern matching. [0] https://github.com/gcanti/tcomb
  4. …(bonus point: is Flow compatible) in order to deal with those cumbersome runtime type checks. [1] https://github.com/gcanti/tcomb [2] https://github.com/gcanti/babel-plugin-tcomb
    comment by gcanti · 2016-07-16 · in Maintainable JavaScript (2014)
  5. …depending on your use case), you also get pseudo-immutability on your Tcomb structs for free. [0] https://github.com/gcanti/tcomb
    comment by dandelany · 2016-05-19 · in Specifying JSON
  6. ▲ 3
    Tcomb: Type Checking and Domain Driven Design for JavaScript
    story by ingve · 2016-05-14 · 0 comments
  7. …hooked on the idea of having a type safe data record that was also immutable Me too, thus I wrote https://github.com/gcanti/tcomb
  8. ▲ 8
    Show HN: Tcomb v2.6 type-checked recursive types for JavaScript
    story by gcanti · 2016-01-17 · 0 comments
  9. Shameless plug: https://github.com/gcanti/tcomb . Used in development/production in several places, included the new MapBox Studio
    comment by gcanti · 2015-11-29 · in Must-See JavaScript Dev Tools
  10. Hi, shameless plug: another ( typed ) immutable data structure library, https://github.com/gcanti/tcomb . Main features: - works with regular objects and arrays - runtime type checks - easy debugging with Chrome DevTools - immutability and…
  11. Did you take a look at tcomb[0]? [0] https://github.com/gcanti/tcomb
    comment by user1241320 · 2015-09-24 · in Why we’re no longer using Core.typed
  12. …one of the parens in your link, which is messing it up. Here's a pristine version for the lazy: https://github.com/gcanti/tcomb
    comment by actsasbuffoon · 2014-10-31 · in The Two Pillars of JavaScript
  13. …sugar and complexity, ES7 will adopt macros ( http://sweetjs.org/ ) and a type system (e.g tcomb ( https://github.com/gcanti/tcomb )).
    comment by clusterfoo · 2014-10-31 · in The Two Pillars of JavaScript
  14. …order types. Shameless plug: I wrote a similar library based on set theory (I'm a mathematician) https://github.com/gcanti/tcomb EDIT: and here an article explaining the rationale behind the library https://gcanti.github.io/2014/09/29/javas…
    comment by gcanti · 2014-10-24 · in AtScript Primer
  15. …runtime type checking based on type combinators [1], check it out, we can share some ideas. [1] https://github.com/gcanti/tcomb