lua-users home
lua-l archive

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


Default is a perfectly reasonable name for a default in a language that does
not reserve the word default (phew :)

I don't see the need for this syntactic sugar. The current ways of doing
seem clear enough to me.

P.

-----Original Message-----
From: lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br] On Behalf Of Grellier, Thierry
Sent: 19 September 2006 14:57
To: Lua list
Subject: RE: Default value in function parameters?

There is also the possibility to introduce a new default keyword (gasp).

I hope that people are not used to name variables with so poor name, so
that it doesn't break many programs...