3 ms·
Come back to me when there's a standard for JSON schemas so my data can be actually strongly-typed + verified.
by octo_t 13y ago
Come back to me when there's a standard for JSON schemas so my data can be actually strongly-typed + verified.
- edoloughlin 13y agoJSON was used in the original article as a placeholder for Clojure forms. You can (optionally) get strong typing using Clojure records[1] (see defrecord) or using core.typed[2]. Datomic also lets you specify types[3]. I'm not "coming back" to you, as I don't appreciate your snarky, know-it-all tone. I'm replying for the benefit of others reading who may not be familiar with Clojure. [1] http://clojure.org/datatypes http://clojure.org/datatypes [2] https://github.com/clojure/core.typed https://github.com/clojure/core.typed [3] http://docs.datomic.com/schema.html http://docs.datomic.com/schema.html
- Ygg2 13y agoI think the parent is saying basically: Greenspun's eleventh rule Any sufficiently complex Lisp implementation contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Haskell's type system.