Conventions, Style, and Usage for Clojure Constants?

前端 未结 8 1228
余生分开走
余生分开走 2021-02-02 06:48

What are the best practices for defining constants in Clojure in terms of style, conventions, efficiency, etc.

8条回答
  •  不思量自难忘°
    2021-02-02 07:07

    Don't use a special notation for constants; everything is assumed a constant unless specified otherwise.

    See http://dev.clojure.org/display/community/Library+Coding+Standards

提交回复
热议问题