3 ms·
A reasonable syntax, try/catch/finally built in, subroutine signatures as a default feature (not 'experimental') and a sane class system would be a start.
by benbristow 5y ago
A reasonable syntax, try/catch/finally built in, subroutine signatures as a default feature (not 'experimental') and a sane class system would be a start.
- nrdvana 5y agoThe class/package system is actually my favorite part of the language, and the reason I put up with the syntax warts. It goes one step better than JavaScript by putting methods and attribute storage into separate namespaces, and supports multiple inheritance, and lets you modify the method tables on the fly.
- chris1993 5y agoI think that describes Perl v7 pretty well.
- benbristow 5y agoIt describes other Perl-like languages like Python, Ruby and PHP pretty well too. Why would I want to go back to Perl when I could use a language that’s more popular and well-established now?