There's more than one way to do things | |
PerlMonks |
Re: If Perl 5 were to become Perl 7, what (backward-compatible) features would you want to see?by LanX (Saint) |
on Oct 14, 2019 at 15:39 UTC ( [id://11107424]=note: print w/replies, xml ) | Need Help?? |
Long time ago I've listed some ideas in my LanX's scratchpad (Things I miss in perl5). Basically new features should address some problems in
$nested{hash}[0]->push("value") is far more readable than push @{ $nested{hash}[0] }, "value"
This needs to be resolved to have more productive discussions. For instance a good REPL/One-liner language is taking profit from special variables. In a large professional multi-dev/multi-module environment you prefer a more streamlined syntax. This could be solved by pragmas and translation tools. All these changes should be partnered with an easily understood "vision" / "business model" building faith in Perl.
Cheers Rolf
In Section
Meditations
|
|