What are Clojure's Naming Conventions?

前端 未结 5 1501
南方客
南方客 2020-12-25 09:47

Can anyone explain or point me to where I can find clojure\'s naming conventions for:

  1. File names
  2. Functions (From what I understand, function names are
5条回答
  •  我在风中等你
    2020-12-25 10:32

    There is an interesting set of naming conventions documented in a comment by Taoensso in his Encore library.

    He proposes names using ! for side-effects, ? for booleans, $ for expensive operations, _ as dereffable, * for macros; plus a few other combos.

提交回复
热议问题