[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Query re: documentation for v. 5.2
- From: marbux <marbux@...>
- Date: Thu, 22 Dec 2011 08:32:59 -0800
We're testing a development build of the NoteCase Pro outliner that
substitutes Lua 5.2 for v. 5.1. I've encountered an issue that causes
me to ask whether the issue should be addressed in the 5.2
table.getn and table.setn were deprecated in v. 5.1.  However, at
least table.getn was not removed and continued to work in v. 5.1. My
testing with v. 5.2, however, indicates that getn is now a nil value.
I am guessing that table.getn was removed in 5.2.
Checking user-contributed scripts, we've had a fair bit of use of
table.getn with v. 5.1 but that's probably not a show stopper for us.
However, I raise the question whether the version 5.2 list of
incompatibilities  should mention that table.getn was removed,
along with table.setn if it was also removed in the last cycle.
As things stand, there is no indication in the documentation that
these features have ever been removed, only they have have been
deprecated. Under a common understanding of *deprecate*, "[f]eatures
are deprecated—rather than immediately removed—in order to provide
backward compatibility, and give programmers who have used the feature
time to bring their code into compliance with the new standard." .
This is not to suggest that our users should have been using