Hacker News new | ask | show | jobs
by teataster 1522 days ago
The thing I hate the most about Fennel is when you go back to Clojure and type `print` rather than `println`.
2 comments

  (ns foo.bar
    (:refer-clojure :exclude [print] :rename {print println}))

  (print "Should have a newline")
;; How to infuriate your co-workers
Workaround:

    print C-x a - println
    M-x abbrev-mode
Not all clojurians use emacs ;)
Well, configuring their editor of choice to provide the same functionality is left as an exercise to the reader... :-)

    inoreabbrev print println
Fennel also would benefit from something like the Clojure "discard form", in my opinion.