This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-07
Channels
- # admin-announcements (4)
- # beginners (63)
- # boot (67)
- # clara (29)
- # cljs-dev (38)
- # cljsjs (10)
- # clojars (7)
- # clojure (336)
- # clojure-belgium (3)
- # clojure-dev (22)
- # clojure-greece (30)
- # clojure-nl (1)
- # clojure-russia (9)
- # clojure-spain (3)
- # clojure-spec (169)
- # clojure-uk (12)
- # clojurescript (45)
- # clojurex (4)
- # core-matrix (3)
- # cursive (58)
- # datascript (3)
- # datomic (18)
- # events (38)
- # hoplon (228)
- # immutant (5)
- # lambdaisland (6)
- # leiningen (3)
- # luminus (8)
- # off-topic (11)
- # om (113)
- # om-next (2)
- # onyx (10)
- # parinfer (7)
- # planck (22)
- # re-frame (11)
- # reagent (25)
- # robots (7)
- # spacemacs (3)
- # specter (10)
- # yada (3)
Should I be using spec in all my Clojure/Script code? I read the introductory article and worked thru the examples, I can see the value proposition but it seems like … work.
(Really lazy question, I know, sorry. It's the dichotomy between improving existing code vs writing new code to do new things)
@fasiha: it’s entirely optional
if you don’t want then don’t use it, easy as that 🙂
@fasiha: up until now, we've always recommended that you create a Prismatic Schema for app-db. The todomvc app shows how to check it after every event handler
A Prismatic Schema acts to (1) document the information model you are using (2) check that event handlers are working correctly.
If I'm seeking to understand an re-frame app, the very first thing I look at is the Prismatic schema.
Quite soon that recommendation will change to use clojure.spec
. But I'd just be waiting for release of clojure 1.9 .
Hey guys, I'd like some feedback on my.. cheat codes
for getting around in my re-frame app: http://take.ms/1nzLp
You can copy the namespace and update steps
with whatever dispatches you'd like and give it a try - it might render weird for you tho!
@escherize: not sure what we’re able to do there? I just see your source nicely formatted?