Wow, this feels exactly right. I am eager to start using it, and delighted 
it will be so easy.

On Wednesday, January 13, 2016 at 12:21:53 AM UTC-6, Peter Taoussanis wrote:
>
> BTW have had some folks comment on the length of the video.
>
> This wasn't clear, so will point it out now: if you're looking for a quick 
> overview I'd start with the Quickstart (
> https://github.com/ptaoussanis/truss#quickstart) and examples (
> https://github.com/ptaoussanis/truss#detailed-usage) rather than the talk.
>
> The lib's *really* small and takes 2 seconds to learn - the talk's mostly 
> there to go into motivations behind the lib and its design choices. If that 
> stuff's obvious to you (or not interesting), feel free to just dive in to 
> the examples.
>
> Only warning: the examples are mostly for syntax, not use case. You can 
> certainly use Truss for simple type assertions, but that's rarely where 
> it's most interesting. Personally, I've found it most useful in verifying 
> assumptions about application state and that sort of thing. Or for more 
> subtle type assertions in hairy code (e.g. re: the presence of nils, blank 
> strings, number ranges, specific collection types or counts, conditions 
> w/in `reduce`(or transducer) calls, etc.).
>
> Sweet spot's often in larger and/or more complex code but that's largely 
> to taste.
>
> Litmus test: if you're writing a complex piece of code and you find 
> yourself making implementation choices based on context that's currently 
> clear to you from your understanding of how the application works or the 
> state it'd be in if this code is running - that context might be worth 
> formally capturing in a Truss assertion.
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to