Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: Object Oriented packages - classes and subroutines

by jplindstrom (Monsignor)
on Oct 06, 2008 at 14:22 UTC ( [id://715576]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Object Oriented packages - classes and subroutines
in thread Object Oriented packages - classes and subroutines

Sorry, I don't get it. Call it like this:

my $whatever = My::Class->whatever();

Is it the verbosity of the class name that bothers you or something else?

/J

Replies are listed 'Best First'.
Re^4: Object Oriented packages - classes and subroutines
by educated_foo (Vicar) on Oct 11, 2008 at 07:07 UTC
    Yes, it's the totally unnecessary verbosity that's extremely annoying to get rid of. That doesn't bother you?
        From that post, you clearly believe that (1) everything is a method, and (2) you'll usually want to override things. In my experience and in my view, both of these claims are deeply wrong, but it's obvious they are a matter of taste. For example, I find smalltalk loathsome and dogmatic, but it appeals to a lot of people.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-03-29 09:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found