On Wed, Feb 3, 2010 at 8:08 AM, Dan <redalas...@gmail.com> wrote:
> Once a month, we get a proposal about how to remove the parens so that the
> language would be more usable for newbies who are afraid of them. Invariably
> this turns out into experienced clojure users telling that the parens aren't
> a problem and that they become invisible once you start indenting your code
> right.
> This makes me wonder the following thing: Why isn't there a page on the
> official website that explains how to indent properly?

As someone who came to Clojure from Python (primarily), I can tell you
that as the language gains traction, these kind of "little things" can
be amazingly valuable to people getting started who obsess over small
details.  I'm an Emacs weenie of 20 years, so I don't really sweat the
indentation issue, but there's a lot of people who aren't, and for
whom there is no familiarity with Lisp. For example, how Clojure
indents is different than how I used to indent INTERLISP for example.

Something like Python's PEP8 [1] would be very useful. This would also
cover naming conventions (recently discussed in the library author's
thread), and things like that. A lot of the Python tools (like Rope
for refactoring) can also move things around to make it "fit" the
style.

Chris

[1] http://www.python.org/dev/peps/pep-0008/
-- 
| Chris Petrilli
| petri...@amber.org

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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