I am working through a few of the pages on clojure.org with two goals:(1) remove or fix anything that is outdated or incorrect
I really like how minimal that is now.I am working through a few of the pages on clojure.org with two goals:(1) remove or fix anything that is outdated or incorrectA quick suggestion: shouldn't the Copyright date be updated too?
> As a first pass, I have trimmed http://clojure.org/getting_started, and quite
> clearly linked out to http://dev.clojure.org/display/doc/Getting+Started for
> advice on tools, IDEs, etc.
That's a huge improvement; glad to see it finally getting some attention.
I have heard that the single-dot syntax is deprecated for use outside
macro writing. So this sample should probably be replaced:
(. javax.swing.JOptionPane (showMessageDialog nil "Hello World"))
The modern equivalent would be:
(javax.swing.JOptionPane/showMessageDialog nil "Hello World")
-Phil
Thank you!
A question about the packaging of the "Developer Releases" on the
downloads page: in the 1.2.1 ZIP, there's clojure.jar exactly as
mentioned on the getting_started page; in the 1.3.0 Beta 1 ZIP,
there's clojure-1.3.0-beta1.jar and clojure-1.3.0-beta1-slim.jar - is
that just an artifact of the interim builds? (and is the assumption
that folks reading getting_started aren't likely to try non-stable
releases?)
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/
Railo Technologies, Inc. -- http://www.getrailo.com/
"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)
I am working through a few of the pages on clojure.org with two goals:(1) remove or fix anything that is outdated or incorrect(2) move to the community site (dev.clojure.org) things that should bemaintained by the community.As a first pass, I have trimmed http://clojure.org/getting_started, andquite clearly linked outto http://dev.clojure.org/display/doc/Getting+Started for advice on tools,IDEs, etc.
Thank you!
A question about the packaging of the "Developer Releases" on the
downloads page: in the 1.2.1 ZIP, there's clojure.jar exactly as
mentioned on the getting_started page; in the 1.3.0 Beta 1 ZIP,
there's clojure-1.3.0-beta1.jar and clojure-1.3.0-beta1-slim.jar - is
that just an artifact of the interim builds? (and is the assumption
that folks reading getting_started aren't likely to try non-stable
releases?)
"Group items in the navigation area so that similar items are next to each other."
No.
No, no, no, no, no!
That will kill 90% of the people that try it as potential future
Clojurians. They'll install emacs, try to use it, throw keyboards out
windows and mice through monitors, say "What? Huh? WTF is this shit!?
AAAAAAGH!" and then run out of standard curse words and resort to
"sweet crobdonker!". And then go play around in Java or C++ and curse
your name every morning until their dying day.
How about making the main suggestion be clooj instead, with emacs,
eclipse, netbeans in the list of alternative options? :)
> Under 3), guides to setting up web programming (+ ClojureScript now?),
> Incanter, and any other killer apps---but not an infinite list by any
> means. Less common applications again would be relegated to links
> (which may link within dev.clojure of course).
Maybe start with helloworld? :)
--
Protege: What is this seething mass of parentheses?!
Master: Your father's Lisp REPL. This is the language of a true
hacker. Not as clumsy or random as C++; a language for a more
civilized age.
+1, as I went through the same process. Emacs should be the option for the brave ones who already wrote their first helloworld.clj.
sent from my mobile device
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@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+u...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en
How about making the main suggestion be clooj instead, with emacs,
eclipse, netbeans in the list of alternative options? :)
For once I'm in complete agreement with Ken - trying to push Emacs as
the recommended editor for Clojure would be a disaster!
We need to be very clear that pretty much whatever IDE / editor you
use today can be used for Clojure.
Having the Getting Clojure section focus on Leiningen to handle
dependencies, run a REPL and run Clojure scripts (with a -main
function) is a great way to get people started.
I do not think we should attempt a recommended IDE (not even Clooj).
We should offer a path for all existing IDEs / editors. If you're an
Eclipse user, try CCW. If you're an existing Emacs user, here's how to
configure it for Clojure. If you're a TextMate user, here's the
Clojure bundle. And so on. Use an editor not listed here? Try Clooj
(i.e., use this as a simple catch-all if we haven't covered what you
already used today).
Sean
I do not think we should attempt a recommended IDE (not even Clooj).
We should offer a path for all existing IDEs / editors.
Use an editor not listed here? Try Clooj
(i.e., use this as a simple catch-all if we haven't covered what you
already used today).
This URL is somewhat unfortunate. For some reason, both
https://github.com/downloads/arthuredelstein/clooj/
and
https://github.com/downloads/arthuredelstein/
give 404 pages, so it's not possible to use ".. walking" to get to the
"parent node" -- i.e., Edelstein's Clooj page as a whole, and then
Edelstein's everything-including-Clooj page. That's poor URL design,
but it's probably not Edelstein's fault, but rather github's.
I'd argue that this is another reason for having separate sites for
projects, sites hosted away from places like sourceforge and github
(but linking to those); a generic web host will let you use a better
URL structure so people who, say, only see your download link posted
somewhere and want to read more before committing to downloading
anything can just chop the last segment off your URL and read away.
I find it hard to imagine a "casual dev" that doesn't already have a
preferred editor - but I'm certainly not averse to promoting Clooj to
folks who don't have a strong IDE predilection.
> Most Java devs have never used a repl-aware edit buffer, something most of
> us take for granted.
Most Java devs have a strong affinity for a specific IDE tho'...
> That's why I would give Clooj some prominence rather than burying it at the
> bottom of the decision tree.
Well, then put it at the top with the tag line "If you don't have a
strong affinity for a specific IDE or editor, why not try Clooj which
is a simple, lightweight editor focused on Clojure? Otherwise see the
options below for adding Clojure support to your favorite IDE..."
+1
--
Michael Wood <esio...@gmail.com>
+1 with a little more justification from one perspective:
As a relative newbie (to Clojure and especially the Java ecosystem, but not to Lisp) and as a teacher (I have been and plan to continue teaching Clojure to undergrads) I have pretty strong opinions on this.
What I hope for in a "getting started" page/process is something that will allow people with little/no experience with any existing programming environment to install and begin to use a Clojure environment that is "not toy" in the sense that it includes both a reasonable Lisp code editor (minimally: bracket matching and language-aware auto-reindenting) and a reasonable way to grow a project to include multiple files and libraries without learning a lot about classpaths and miscellaneous other Java tools (which probably means leiningen or cake).
All of the existing full IDEs involve a lot of complexity that is bewildering to newcomers, either in installation/configuration, in use, in dealing with libraries/classpaths in the community-normed way, or in some combination of these.
Until very recently I thought that the way forward on this was to push one or more of the existing IDEs in more newbie-friendly directions, e.g. by getting CCW to play more nicely with leiningen, or to provide more newbie-friendly installation/configuration scripts/instructions for emacs-based environments. And several people in the community have recently made contributions recently that helped with these things in significant ways. I thank them all! But from my perspective there was not yet a really complete, satisfying solution.
Now along comes clooj. This has, to my mind, really leapfrogged over all of the other approaches in its potential to provide a really smooth entry ramp into Clojure coding for total novices -- AND (and this conjunction is quite important for me personally) also for seasoned non-Java-ecosystem programmers who want to use Clojure for serious work without mastering Java ecosystem tools. It provides trivial download/installation, a simple but sufficient editing environment and, I think (although I haven't yet worked with this) smooth integration with a leiningen-based or cake-based workflow.
Related issues are being discussed on the clooj mailing list (cl...@googlegroups.com), and I think that with a few more enhancements to the environment and especially to the getting started instructions (focusing on integrated clooj+lein/cake workflow, and providing simple instructions for 1: hello world, 2: including and using a library, and 3: building an application) this will be a really excellent environment for newcomers.
Assuming that clooj+lein/cake continues to improve as rapidly as it has over the last week, I too would advocate this being the first item listed on a Clojure getting started page.
-Lee
Yes.
> for now I'd just like to see
> us not presenting people with twelve options as their first view of
> Getting Started, all in link form
Agreed.
From what I've heard, the only thing missing I'd consider really
important is a way to auto-reindent one or more lines. (Others might
consider syntax highlighting to be crucial as well; I don't know.)
> On Fri, Jul 29, 2011 at 5:33 PM, Laurent PETIT <lauren...@gmail.com> wrote:
>> Sorry to make things look different than the apparent consensus of the
>> participants to this thread, but isn't it a little bit too prematurate to
>> put that pressure on Clooj ?
>> I understand the desire to have Clooj for "filling the gap".
>> But my question is : is it ready yet ?
>
> From what I've heard, the only thing missing I'd consider really
> important is a way to auto-reindent one or more lines. (Others might
> consider syntax highlighting to be crucial as well; I don't know.)
Considering how very young it is, it's probably not realistic to consider it ready quite yet.
That said, I'm a clooj cheerleader because I think that it, when combined with lein or cake, hits the ease/completeness sweet spot in a way that no other tool currently does.
THAT said, I've just begun to try to work in it seriously, and I just sent three messages raising new issues to the clooj list.
*THAT* said, the improvements have been coming fast, and particularly if others pitch in I think it could be "real good" "real soon".
-Lee
As a quick and simple way to get a REPL and edit code it seems to work
> But my question is : is it ready yet ?
fine. I added a sentence about its newness just so people would be
aware of it...
if the author prefers no tutorial so far, then of course
it should be taken down.
--
inc
IMHO there are three types of people coming to Clojure
- Java Programmers
- Old-school lispers
- all the other, who just want to try (and possibly follow the examples in a tutorial or book)
For the first two groups the obstacles and interest can probably be sorted out and the third groups just needs some basic setup, which may be presented using Clooj (or lein repl or a virtual machine download or even just clojure.main, or ...).
To me it seems important to get the common misunderstandings and problems out of the way for groups 1 and 2. The Java-programmers will need more help to get going with REPL-oriented programming an to integrate Clojure in their (existing) Java-programs, whereas the old-school lispers (OSPs? ;-) need a hand getting around in the Java ecosystem (mvn, jar, war, classpath, etc).
Kind regards,
Stefan
On Jul 29, 2011, at 7:30 PM, Stefan Kamphausen wrote:inc
IMHO there are three types of people coming to Clojure
- Java Programmers
- Old-school lispers
- all the other, who just want to try (and possibly follow the examples in a tutorial or book)
[...]
To me it seems important to get the common misunderstandings and problems out of the way for groups 1 and 2. The Java-programmers will need more help to get going with REPL-oriented programming an to integrate Clojure in their (existing) Java-programs, whereas the old-school lispers (OSPs? ;-) need a hand getting around in the Java ecosystem (mvn, jar, war, classpath, etc).
The "other" category you mentioned needs just as much help with REPL-oriented programming. A solid editor-agnostic screencast on this style of development would do quite a bit of good, I think. The rhythm can be a bit fast for beginners when they don't see how you hit a hotkey to re-evaluate a form in your source in the REPL, for instance.