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. Lots of curricula are based on this sort of thing, and even people who aren't students may do some of this first since it seems like it shouldn't rely on understanding libraries or the java ecosystem or whatever. So funky behavior related to simple text I/O may be confusing people who are least likely to know how to work around it. > What do the processes look like in other languages? How are those > processes different to what happens with Clojure? 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. (Note: I haven't tried all of the ways that have been discussed, but the consensus seems to be that it does indeed fail.) -Lee -- 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