in reply to Re^2: A short whishlist of Perl5 improvements leaping to Perl7
in thread A short whishlist of Perl5 improvements leaping to Perl7
I can't see that the OP made a proposal just a fuzzy wish and linking to a thread where I coined the term automine and already highlighted the problems.
>
Your example is redundant, cause the obvious rule is that any assignment in a new scope equals a declaration.
So what's the proposal now?
Python has IMHO
This model is very hard to transfer to Perl.
Where would we steal? Ruby? Javascript?
JS is a mess, a var is
JS had to introduce let to have a proper my plus an optional strictSo again WHAT is the proposal???
For the records: I'd love to be able to have an automine pragma which makes easy cases easy and complicated cases feasible.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: A short whishlist of Perl5 improvements leaping to Perl7
by ikegami (Patriarch) on Nov 29, 2020 at 04:38 UTC | |
by LanX (Saint) on Nov 29, 2020 at 10:24 UTC | |
by ikegami (Patriarch) on Nov 29, 2020 at 20:40 UTC | |
by LanX (Saint) on Nov 29, 2020 at 21:17 UTC | |
by ikegami (Patriarch) on Dec 01, 2020 at 08:32 UTC | |
Re^4: A short whishlist of Perl5 improvements leaping to Perl7 (Thought Experiment No.1)
by LanX (Saint) on Nov 27, 2020 at 16:38 UTC | |
by LanX (Saint) on Nov 28, 2020 at 12:48 UTC |