Skip to content

Instantly share code, notes, and snippets.

@alvaro-cuesta
Created June 27, 2012 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alvaro-cuesta/3005694 to your computer and use it in GitHub Desktop.
Save alvaro-cuesta/3005694 to your computer and use it in GitHub Desktop.
Style: Function naming
(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