> What do you think ? What do other people think ? If people want a
> configuration parameter, I'll give them one. As Stuart said in another
> thread: speak now or ... :)

While tabs vs. spaces in the general sense can be debated, one of the
nice things about Lisp is that *everyone* (more or less) really does
use the same indentation style (spaces and almost always agree on the
number of them). In addition, alignment with a part of a previous
expression tends to be very common Lisp (more so, I think, than in
many languages) which means that hopping in one level of indentation
is a fairly un-common operation and mostly relegated to bodies whereby
the automatic indentation would presumably do the right thing anyway.

Giving this hugely pervasive convention, it seems sensible to me for
the default to be auto-indent.

I also suspect, without having any evidence, that newcomers that feel
uncomfortable with Lisp will probably be significantly helped by
automatic indentation on tab.

That said, I am clearly biased coming from using emacs as my primary
text editor (and the tab key being high up on the list of annoyances
when trying to get used to Eclipse or IntelliJ), and coming from being
used to simply hitting C-q tab in cases where I really do want a tab.
Perhaps it is much more difficult to insert a real tab on the few
occasions where you want it in eclipse/ccw (I don't know; I haven't
used it enough yet to know)?

And yet another disclaimer: While I've used CCW a bit, I haven't used
it enough to have a good feel for it. So my input above comes mostly
from a general perspective.

-- 
/ Peter Schuller

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