lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 03/11/2012 14:20, Egor Skriptunoff wrote:
On 11/3/12, Dirk Laurie <dirk.laurie@gmail.com> wrote:
string.part=string.sub
string.grepl=string.gsub
string.sub=nil
string.gsub=nil
print((("How hard is that?"):grepl("hard","easy")))
How easy is that?

Dirk, it is OK until you have to share your sources with others.
Do you really wanna Babel in Lua community?   :-)
The benefits of language standardization should not be underestimated.

I share this point of view. Reading code where name of standard features have been changed is hard, as partly a foreign lang. So I constantly refrain myself from renaming a dozen funcs of Lua's stdlib... ;-) Conversely, This shows how important it is to find good names from the start, as they will be shared.

Denis