>From what I know, it's a good pratice to use hypens and lower case letters
in general in the "lisp" world, and it is also a good rule in clojure.

But since namespaces and java classes don't accept hyphens, it is already
hard coded in clojure that hyphens are replaced with underscores in
namespaces/libs name, when trying to resolve to a classpath entry.

I think there could be one place where sticking to the "lisp way" of writing
things is not interesting : if you intend to generate java classes that you
want to expose to regular java people : then I think it's better to follow
the java conventional form : all lower case package names (no underscores,
thus no hyphen), and camel case first first Upper Letter for class names
(and no hyphens/underscores).

My 0,02€,

-- 
Laurent


2009/2/7 Tzach <tzach.livya...@gmail.com>

>
> Thanks Keith, I update the version with your inputs, should have test
> it first.
> Laurent, is it consider a bad practice to use hyphen on general, or
> just as ns / file names?
>
> Tzach
>
> On Feb 7, 1:36 am, Laurent PETIT <laurent.pe...@gmail.com> wrote:
> > Hello, not related to your question, but  you should consider renaming
> your
> > file sudoku_solver to make it compiler friendly.
> >
> > Concerning your question, I think there have been some answers recently
> on
> > the ml. Sorry I don't remember the links exactly.
> >
> > Regards,
> >
> > --
> > Laurent
> >
> > 2009/2/6 Tzach <tzach.livya...@gmail.com>
> >
> >
> >
> > > Hi all
> > > As my first Clojure project, I decided to finally solve one of
> > > humanity major  problems - Sudoku!
> > > Here is the source
> >
> > >http://code.google.com/p/sudoku-solver/source/browse/trunk/sudoku-sol.
> ..
> >
> > > I would appreciate your comments.
> > > Thanks Konrad for useful tips.
> >
> > > What is the simplest way to make a standalone executable out of this?
> >
> > > Thanks
> >
>

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