When and where do you put type annotations in Clojure code?

Posted by Michiel Borkent on Stack Overflow See other posts from Stack Overflow or by Michiel Borkent
Published on 2010-04-02T20:38:51Z Indexed on 2010/04/02 22:53 UTC
Read the original article Hit count: 306

Filed under:
|
|

When and where do you put type annotations in Clojure code? Obviously when performance counts. But are there rules by which you can live of when (only when doing Java Interop?) and where to add them (function definition arguments)?

© Stack Overflow or respective owner

Related posts about clojure

Related posts about type