On Sun, Nov 30, 2008 at 1:20 PM, Stuart Sierra
<[EMAIL PROTECTED]> wrote:
>
> On Nov 30, 7:22 am, "Mark Volkmann" <[EMAIL PROTECTED]> wrote:
>> Is there a rule of thumb to apply when deciding whether to separate
>> multiple words in a function name with hyphens?
>> I can't detect a pattern in how this was decided for many provided functions.
>> Here are some examples that use hyphens: dotimes, gensyms, macroexpand
>> Here are some that don't: drop-last, find-doc, lazy-cat
>
> Hi Mark,
> There's no hard-and-fast rule, but a lot of it comes from Common Lisp,
> like gensyms and macroexpand.  There are a bunch of CL naming
> conventions at <http://www.cliki.net/Naming%20conventions> but these
> are not used entirely consistently in Clojure.

Perhaps the rule of thumb should be to include hyphens in function
names to separate multiple words UNLESS omitting them makes the name
match one from another Lisp variant.

-- 
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to