Created
June 27, 2012 17:56
-
-
Save alvaro-cuesta/3005694 to your computer and use it in GitHub Desktop.
Style: Function naming
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns example.image) | |
;; This | |
(defn generate-image [...] | |
...) | |
;; or this | |
(defn generate [...] | |
...) | |
;;;;; | |
;; When calling it somewhere else | |
(example.image/generate-image ...) | |
(generate-image ...) ;; with use | |
;; Second case | |
(example.image/generate ...) | |
(generate ...) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment