A Mathematician looks at D

Jacob Carlborg doob at me.com
Mon Feb 18 23:23:28 PST 2013


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


More information about the Digitalmars-d-announce mailing list