A Mathematician looks at D

Joshua Niehus jm.niehus at gmail.com
Mon Feb 18 14:13:36 PST 2013


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?



More information about the Digitalmars-d-announce mailing list