Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
"be consistent"
 
PerlMonks  

Why not spaces instead of dots?

by bikeNomad (Priest)
on Jul 15, 2001 at 19:55 UTC ( [id://96891]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Dots and cargo-cult programming

Actually, it would make for more readable code if Perl6 made it so that:
$obj a b c(d,e) f

meant the same as Perl5's
$obj->a->b->c(d,e)->f

or the proposed
$obj.a.b.c(d,e).f

I hope that perl6 drops the confusing bareword notation for functions (as opposed to method calls), though. Having a b c d mean the same as a(b(c(d()))) causes you to have to suddenly start reading from right to left to track the order of program execution, even though the rest of Perl is left-to-right.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://96891]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.