On 2003-11-26 at 12:13:39, chromatic wrote: > Consider Perl 5, where File::Find is a core module. While the interface > may have been nice in 1995 (though I doubt even that), it's been widely > regarded as awful for at least three years. It's likely never to be > removed from the core. File::Find::Rule is immensely nicer.
Nicer it may be, But I use File::Find *because* it's in the core, so I don't have to worry about my programs being non-portable because I use a module that may not be installed. Which just proves your point, of course. File::Find::Rule may be nice indeed, but I and many others would be highly annoyed if File::Find were to go away, no matter how nice its interface isn't. > Again, once something goes in the core language, it has to be amazingly > positively unquestionably broken to be removed. Merely bad things have > too much staying power. Perhaps true. But I still agree with Michael that the "catch" keyword is a logical addition to the core. -Mark