I think extra validation for Dev would be great. The more mistakes you
can't make without being caught the better! Would make Om more beginner
friendly too. So +1 from me too.

On Thu, 4 Dec 2014 17:06 David Nolen <[email protected]> wrote:

> https://github.com/swannodette/om/issues/287
>
> Expect these validations to land in 0.8.0.
>
> David
>
> On Thu, Dec 4, 2014 at 11:47 AM, Colin Yates <[email protected]>
> wrote:
> > On Thursday, 4 December 2014 16:45:38 UTC, David Nolen  wrote:
> >> On Thu, Dec 4, 2014 at 11:15 AM, Colin Yates <[email protected]>
> wrote:
> >> >
> >> > Of course, the answer is obvious when you spot it: (om/set-state!
> cursor (conj @cursor id)).
> >> >
> >> > Numpty points for me :).
> >>
> >> By the way I'm more than happy to add more function argument
> >> validations to Om for dev time to avoid easy to miss mistakes like
> >> this.
> >>
> >> :pre & :post conditions emit `assert`s. These can be elided in
> >> production via a flag to the ClojureScript compiler.
> >>
> >> Thoughts?
> >>
> >> David
> >
> > +1 for me obviously :).
> >
> > --
> > Note that posts from new members are moderated - please be patient with
> your first post.
> > ---
> > You received this message because you are subscribed to the Google
> Groups "ClojureScript" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> > To post to this group, send email to [email protected].
> > Visit this group at http://groups.google.com/group/clojurescript.
>
> --
> Note that posts from new members are moderated - please be patient with
> your first post.
> ---
> You received this message because you are subscribed to the Google Groups
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/clojurescript.
>

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to