3 ms·
I find the primary advantage of a REPL being able to "explore" the language, or code. If I am trying to figure out how to slice a particular list of items and
by keypusher 12y ago
I find the primary advantage of a REPL being able to "explore" the language, or code. If I am trying to figure out how to slice a particular list of items and then split the items on a regex into key-value pairs for a map, sometimes I just prefer instant feedback and being able to mess around with live variables. That being said I often find that after about 5 minutes in (Python's) REPL I start wishing I had just written a script and run it in the interpreter instead, as going back to edit functions or build classes can be painful. Stuff like iPython offer solutions to this problem by integration with editors and more.