Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by leocharre (Priest)
on Sep 08, 2006 at 16:34 UTC ( #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
Node Status?
node history
Node Type: note [id://572001]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2020-08-13 21:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (75 votes). Check out past polls.

    Notices?