I guess it depends what language you are referring to, I refer it to it as "function overloading" and use quotes for that. Basically if you have several methods or functions like what we currently have with page.text where depending on the parameters that are passed you get different functions.
Good coding habits are to have one function/method name and a set of params that it accepts, instead of a set of functions/methods with different acceptable values. Using that practice can become a headache and hard to read complex code due to issues distinguishing what a particular call is trying to do vs actually doing.
On Sat, Jun 7, 2014 at 10:12 PM, Jeremy Baron jeremy@tuxmachine.com wrote:
On Jun 7, 2014 10:08 PM, "John" phoenixoverride@gmail.com wrote:
and avoiding "function overloading" means we have easier to work with
code that has lower risks of screwing something up.
Please stop talking about function overloading. (as far as I can tell no one else here is talking about function overloading.)
Thanks!
-Jeremy
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l