------ art_17183_1767243.1169731303657 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline As good as SLIME in that you can easily move code back and forth between REPL and source files? Aur Saraf On 1/25/07, Logan Capaldo <logancapaldo / gmail.com> wrote: > > On Wed, Jan 24, 2007 at 06:31:17PM +0900, SonOfLilit wrote: > > Hello, > > > > this is a spawn of "ruby text editor for beginner", in essence, because > that > > thread inspired the question in me. > > > > LISP has SLIME. > > > > With SLIME, alternating between REPL and source code files is trivial - > you > > have a shortcut to send a s-exp from one to the other and it all works > great > > together. > > > > I wondered if that kind of programming style is supported in other > > languages. > > > > So I googled. I found many bloggers hail "repl-driven software > development" > > as a better-than-yours style that everyone should know or they are COBOL > > monkeys, but nobody really explained what "REPL-driven software > development" > > is. > > > > From a bit of work with SLIME (and screencasts of others using it), I > > understand how some automation makes it really easy to play with your > code > > while working on it (it's supposed to be a Smalltalk thing, too, but I > find > > the tools very non-productive - at least in squeak - with there being no > > easy way to navigate the code with the keyboard and hop to the correct > > places and the mouse is a must for almost every operation) but I don't > see > > how a REPL alone makes it possible. Some more automation, in my opinion, > is > > needed - an interface that supports alternating file and REPL easily and > > gives you a full IDE (code completion, macros) that is consistent in > both. > > > > Am I wrong? > > > > If I'm correct, do such tools exist for other languages? > > > Emacs also has ruby-inferior mode which you can use to give you a very > SLIME-like experience with ruby. > > Either way, could anyone who uses the REPL for more than experimentation > > with APIs elaborate on the way they use it to assist in their > programming? > > This really interests me, and I'm sure others could learn a lot from it. > > > > Aur Saraf > > ------ art_17183_1767243.1169731303657--