Running a Scala REPL within emacs is quite pleasant in that regard, as emacs' shell-mode is very capable. But sure, REPLs can benefit from tooling. -----Original Message----- From: Cédric Beust [email protected] Sender: [email protected] Date: Sat, 24 Dec 2011 21:20:05 To: <[email protected]> Reply-To: [email protected] Subject: Re: [The Java Posse] Re: JavasScript as a first language
On Sat, Dec 24, 2011 at 11:59 AM, Dick Wall <[email protected]> wrote: > Great, just like the REPL. As you mention below though, you still can't > interact with the scrapbook as easily as with the REPL. It would be a bit > like using a text editor for issuing shell commands at the command line, > and having to select those lines to evaluate them one by one. Sure, you can > do that, but why on earth would you want to? Actually, I've always found the "line" aspect of all REPL's very limiting. Even if you use advanced shell functions such as ^r or specific language assistance like Scala's paste mode, editing in a REPL quickly becomes a chore when you are working on a piece of code that's more than a few lines long and which you need to refine evaluation after evaluation. >From this perspective, I think a free form window with real editor support like Eclipse's Display view is more powerful, although it does suffer from the shortcomings that Reinier described. Emacs' interpreted modes come closer to the ideal blend between a REPL and the Display view, but it's still awkward to work in them. And to be honest, I'm really not quite sure what the ideal UI for such work would be. -- Cédric -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en. -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
