On Tue, Jan 6, 2009 at 9:00 AM, Stuart Halloway
<stuart.hallo...@gmail.com> wrote:
>
>> I'm curious why you decided not to surround the names of constants
>> with asterisks. I see you did use asterisks around snake and apple.
>> I'm still confused about whether there's a convention for that.
>
> I like to use the *form* for names that might be dynamically rebound.
> Thinking about removing them from snake and apple as well.

I wish there was a convention for identifying constants in Clojure,
even if it's not enforced. I'd be fine with making their names all
uppercase as in Java, but I'm open to other suggestions.

>> Why did you decide not to use structmaps for the snake and the apple?
>
> As I only create them in one place it seemed like overkill.

My current habit is to use structmaps for anything that is similar to
a Java Bean where all the entries are used like attributes of a Java
object.

-- 
R. Mark Volkmann
Object Computing, Inc.

--~--~---------~--~----~------------~-------~--~----~
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