Le 2010-07-30 à 19:19, Andrei Alexandrescu a écrit : > David Simcha wrote: >> What's wrong with stack traces in short scripts? I use D all the time for >> short (< a few hundred lines) scripts and sometimes I use Python instead >> when I need a library that's not easily available in D or need to share my >> code with Python hackers. I honestly prefer Python's "always print a stack >> trace" to D's "make me fire up a debugger" for anything over ~50 lines (the >> point where I start to use functions instead of just writing all my code >> inline in main()). > > I didn't know Python prints the stack trace on exception, so my previous > argument just got destroyed :o).
And it's not just Python. PHP 5 too shows the stack trace for uncaught exceptions. -- Michel Fortin [email protected] http://michelf.com/ _______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
