[wp-hackers] load_plugin_textdomain()

Omry Yadan omry at yadan.net
Fri Jul 25 16:38:45 GMT 2008


messy API is an issue.

in the long run, it's more costly to keep a messy API than to fix it once.


I believe I would have create a new function (different name) and 
deprecate the old one.

and completely remove it after a few major versions.



Jason Webster wrote:

> Would you have rather broken everything that used the old way? I fail 
> to see how this is an issue.
>
> Omry Yadan wrote:
>> very Microsoft like approach.
>>
>> see Win32 API for all sorts of marvelous examples.
>>
>>
>> Jason Webster wrote:
>>
>>> Not really. It allows for backwards compatibility and the option to 
>>> use the new method, all in one pretty little package.
>>>>
>>>> That's a very nasty was to improve an API:
>>>> create another optional argument which overwrites the previous 
>>>> arguments?!
>>>>
>>>> _______________________________________________
>>>> wp-hackers mailing list
>>>> wp-hackers at lists.automattic.com
>>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>>
>>> _______________________________________________
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.com
>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list