On 2013-02-18 23:13, Joshua Niehus wrote:
Personally I find REPLs super annoying, especially when you need to
"import" or "require" something or like to use multiple lines.  Serious
how hard is it to just do:

### Ruby
#!/usr/bin/ruby
require "pp"

puts "do stuff"

// D
#!/usr/bin/rdmd
import std.stdio;

void main() {
     writeln("do stuff");
}

then press "Command+b" (Sublime text) and watch it work/fail?

In general I agree with you. But since I've found the Pry REPL for Ruby I'm pretty sold on it:

http://pryrepl.org/

Scroll down to the features list below the screencast.

--
/Jacob Carlborg

Reply via email to