Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^3: RFC: A Beginners Guide to Fuzzy Rules-Based Systems

by chromatic (Archbishop)
on Oct 12, 2006 at 19:16 UTC ( #577931=note: print w/replies, xml ) Need Help??

in reply to Re^2: RFC: A Beginners Guide to Fuzzy Rules-Based Systems
in thread RFC: A Beginners Guide to Fuzzy Rules-Based Systems

I'm sorry, but after many years of using many languages, I am not at all inclined to consider $f = Foo->new() as if it were a method on the type.

What does how other languages work have to do with how Perl works? In Perl, it's a class method. It's not a keyword.

I will continue to use $f = new Foo() as if it were an operator built into the language, because it feels more literate and readable.

Okay, but good luck debugging it when it fails in weird and unexpected ways.

Even with the same sort of bugs, I don't see a lot of people clamoring for a shift to $fh->print @list syntax.

I suspect you don't know why the indirect object notation can fail then. It's a lot more difficult to call print with filehandle and a bareword as arguments, but PBP suggests instead print {$fh} @list.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://577931]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2018-05-21 02:19 GMT
Find Nodes?
    Voting Booth?