Hacker News new | past | comments | ask | show | jobs | submit login

No, not at all.

The threading macros are more useful when you have more nested code. For example:

    (->> coll
         (remove nil?)
         (filter :available?)
         (map :stock)
         (reduce +))
Is perhaps a little easier to read than:

    (reduce +
            (map :stock
                 (filter :available?
                         (remove nil? coll))))



Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: