Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^3: Object Oriented packages - classes and subroutines

by jplindstrom (Monsignor)
on Oct 06, 2008 at 14:22 UTC ( #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?


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?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2023-03-28 04:39 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (66 votes). Check out past polls.