On Sat, 9 Apr 2011 19:27:13 -0400
Lee Spector <lspec...@hampshire.edu> wrote:
> On Apr 9, 2011, at 6:18 PM, Sean Corfield wrote:
> > On Sat, Apr 9, 2011 at 6:46 AM, Lee Spector <lspec...@hampshire.edu> wrote:
> >> But still, I will humbly submit that it's totally freakin' nutso that it 
> >> should be so hard to do basic user interaction.
> > I'm curious as to what percentage of developers are writing
> > console-based applications (in any language)?
> I don't know -- probably quite low -- but I would predict that the
> percentage of students learning Lisp-like languages who would be
> writing console-based interactive programs is quite high.

I wouldn't expect it to be "quite low", but I build them regularly,
and so do most of the people I work with. On unix systems, the
predominate way to plug to programs together is still via the standard
IO pipes, which the programs - even if normally invoked from some
visual tool - can be used from the command line. And many of us work
develop on one system, then deploy on something else via SSH, so being
able to deal with things on the command line - even if it also
provides some kind of GUI - is a useful feature.

Admittedly, JVM languages don't lend themselves to such things, what
with having to either start it on every command or have some kind of
server running to avoid that.

> Code for doing this sort of thing in Common Lisp or Scheme looks
> almost identical to the simple Clojure code we've seen on this
> thread, with the most significant difference being that the Clojure
> version apparently doesn't work if you launch your REPL and run your
> code in some of the commonly recommended ways.

This sounds more like an issue with those "commonly recommended ways"
than with clojure or it's REPL, since it works fine running from a
shell.

     <mike
-- 
Mike Meyer <m...@mired.org>             http://www.mired.org/consulting.html
Independent Software developer/SCM consultant, email for more information.

O< ascii ribbon campaign - stop html mail - www.asciiribbon.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