3 ms·
> Would you like to call eval, recursion, macros, closures and many such things cheating? Yes, in the context of "I did this with just a regexp". > Sorry but
by lazyjones 13y ago
> Would you like to call eval, recursion, macros, closures and many such things cheating?
Yes, in the context of "I did this with just a regexp".
> Sorry but doing things without understanding or knowing the true consequences of what you are actually writing, always causes bugs. And that's true with any programming language.
That's a cheap excuse for implementing this in a way that is just plain wrong, or too limited to be useful, when it could have been implemented correctly (at least if enough capable programmers still understood Perl's source code to work on it).
> Perl has many features which are designed to make the language powerful enough
I never disputed that. I used Perl almost exclusively in the past 14 years or so, so I know what I'm talking about. These broken language features are the biggest PITA about the language. They are useful for some very specific tasks, but useless for others where they could be used if they had been implemented correctly. Adding a feature with more gotchas than useful use cases is not the way to making a language more useful and enjoyale.