In our software, we use uppercase or +name+ as constant names.
Both Java and RUBY use uppercase, I think it's more a matter of taste
what you decide to use.
Ideally it should be obvious by looking at the name that some name is a
constant name.

Both of the above satisfy this criteria.

Luc

On Sat, 2009-02-21 at 12:47 -0800, Howard Lewis Ship wrote:

> I'm kind of used to Java nowadays, where CONSTANTS_ARE_UPPERCASE.  I'm
> trying to figure out if Clojure has equivalent conventions.
> 
> What I've seen:
> 
> names-with-dashes instead of CamelCase
> *global* for global variables (?)
> Parameter name conventions (from Stu's book): val, coll, a, etc.
> 
> What are the accepted conventions?
> 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to