[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Wikipedia Chooses Lua As Its New Template Language
- From: Daurnimator <quae@...>
- Date: Thu, 2 Feb 2012 20:51:05 -0500
On 2 February 2012 20:44, Tim Starling <email@example.com>
The lack of attention to backwards compatibility is concerning. I can
understand the environment changes, but the deprecation of math.log10
and table.maxn just seems arbitrary.
Their removal from the reference manual is worse still -- people still
have to read and understand old code, so they need to be able to find
the documentation for all of the functions which are present. If you
want to discourage the use of a function, write in the manual "use of
this function is discouraged", don't just remove it.
Those functions were deprecated in lua 5.1; and removed in 5.2
(ie; you've had 6 years to remove their use from your code)
If that isn't long enough for you; just stick with an old version.