Re:The Three Great Virtues of a Programmer: Laziness, Impati...
by raiph on Saturday June 27, 2015 @04:52PM
(#9791497)
It'll be interesting to c how the radically overhauled module management in Perl 6 pans out.
(They're making sure that installation is practical. For example, NativeCall, for calling C libs, does not require a C compiler.)
> Also devs are used to having named arguments for their functions. Not supporting that is just silly.
The latest Perl 5s have this ("signatures").
Signatures are a central element of Perl 6. (They are way more powerful than in Perl 5, even the latest.)
> it's difficult to google things like $/, $", $% and $_ when you're confused.
Yes.
Fwiw Perl 6 only keeps three of these oddly named variables (removing dozens of others) and they are simple in practice:
name concept formally means the current/latest
$_ it topic (Nil or any value/object)
$! oh noes! error (Nil or unthrown exception)
$/ /regex/ match (Nil or parse tree)
(They're making sure that installation is practical. For example, NativeCall, for calling C libs, does not require a C compiler.)
> Also devs are used to having named arguments for their functions. Not supporting that is just silly.
The latest Perl 5s have this ("signatures").
Signatures are a central element of Perl 6. (They are way more powerful than in Perl 5, even the latest.)
> it's difficult to google things like $/, $", $% and $_ when you're confused.
Yes.
Fwiw Perl 6 only keeps three of these oddly named variables (removing dozens of others) and they are simple in practice: