3 ms·
It would be nice if there was one single incantation that you could use to basically get "Perl, but with sensible defaults for the modern age", rather than havi
by int_19h 1y ago
It would be nice if there was one single incantation that you could use to basically get "Perl, but with sensible defaults for the modern age", rather than having to use individual packages to deal with specific idiosyncrasies one by one.
Basically something like "use strict" in JS.
- kragen 1y agoI know this is probably not what you meant, but it's amusing to think about someone wondering if Perl has an equivalent to JS's 'use strict'!
- int_19h 1y agoYep, I'm well aware that this is where it came from, so I guess I really should be asking for "use very strict" or something like that. Come to think of it, that's a nice extensibility scheme, too - whenever you want to update it, just add another "very". ~
- kragen 1y agoI wonder how many other language syntax things would be better in unary.
- kqr 1y agoThis has been floated before and many people expect such a pragma to arrive at some point in the future. For now, the relevant committees think some more experimentation and deprecation needs to happen before locking in the set of features to be considered modern.