Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: OO in Perl 6

by GrandFather (Saint)
on Oct 16, 2006 at 22:58 UTC ( [id://578621]=note: print w/replies, xml ) Need Help??


in reply to OO in Perl 6

Heh, may save my 'fat comma' (=>) / 'dereference' (->) confusion when my fingers are on auto-pilot.


DWIM is Perl's answer to Gödel

Replies are listed 'Best First'.
Re^2: OO in Perl 6
by monarch (Priest) on Oct 17, 2006 at 07:49 UTC
    We all have our personal flaws.. I have mine.. though mixing => with -> has never been one of them.

    I guess, in my mind, references to objects are pointers. That's how I do it in my brain. And dereferencing a pointer in C uses the -> notation. I never really got into C++ which uses the concept of references that "appear" to be actual variables, hence the desire to use dot (.) notation to access the contents of a structure/object.

    Perl 5 does it well enough for me for now.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://578621]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-26 06:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found