why Unix?

grauzone none at example.net
Tue Apr 7 14:15:25 PDT 2009


Walter Bright wrote:
> Andrei Alexandrescu wrote:
>> There's been a number of experiments to replace the shell with scheme, 
>> perl, or python. I'm not sure how successful they were for particular 
>> people, but they didn't quite take. My speculation is that general 
>> languages are "too powerful" for shell scripting.
> 
> rdmd?

Some things wouldn't be so beautiful with rdmd:
1. You need a main function, you can't just start typing.
2. You need at least one import statement. This is kind of annoying, 
because you'd probably always import the same single module, that 
contains all your favourite D-functions-substituting-shell-stuff.

Any suggestions?



More information about the Digitalmars-d mailing list