[phobos] Calling abort() on unhandled exception
Leandro Lucarella
luca at llucax.com.ar
Fri Jul 30 18:30:54 PDT 2010
Andrei Alexandrescu, el 30 de julio a las 16:18 me escribiste:
> Steve Schveighoffer wrote:
> >What's hard about using something other than exceptions to print
> >usage in short scripts?
> >
> >This looks just as readable/easy to me:
> >
> >import std.usage;
> >
> >int main(string[] args)
> >{
> > checkUsage(args.length > 1, "Usage: prog args");
> > ....
> >}
> >
> >I also would like to see stack traces in small scripts too, esp.
> >when the script isn't throwing the exception.
>
> No scripting language ever behaves that way. They could if they
> wanted - they don't.
http://bradrants.com/blog/uploaded/BradRants/Images/Misc/WhatYouTalkinBoutWillis.jpg
Seriously, you're COMPLETELY WRONG! See my other e-mail.
Reality is against you on this one. Please, please come into reason.
--
Leandro Lucarella (AKA luca) http://llucax.com.ar/
----------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------
una vez mas voy a arrastrar mi alma por el suelo
y no me importa sentirme mal, si es lo que quiero
tragando polvo, llorando sangre, anocheciendo
una vez mas voy a cerrar mis ojos para siempre
More information about the phobos
mailing list