Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: what's a proper way to code method synonyms

by leocharre (Priest)
on Sep 08, 2006 at 16:34 UTC ( [id://572001]=note: print w/replies, xml ) Need Help??


in reply to Re^3: what's a proper way to code method synonyms
in thread what's a proper way to code method synonyms

I've heard little in the gist of "hey that's great, i wish more modules had synonyms!".

At least for me, hearing your thoughts on this puts the dirt in the grave. Thank you.

I'm going to take out the synonyms.

I still have to make up my mind about which to keep. For example- the method named abs_path is more intuitive, at the same time good sense would be to call it get_absolute_path. So I have to pick between the shorties and the longsies. More like the midsies.

Which to pick it's a hard call.. Consistent. Should I make braindead named routines (rel_path vs get_relative_path) because that's what's expected (because other modules have already named things a certain way)? That is a form of consistency.

  • Comment on Re^4: what's a proper way to code method synonyms

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (6)
As of 2024-04-24 12:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found