[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Shorthand for appending to a table (was Re: 5.2 feature list?)
- From: "Paul Hudson" <phudson@...>
- Date: Wed, 13 Sep 2006 07:01:11 +0100
>Another problem, apart from readability, is when copying and pasting:
>AnothertableWithMeaningfulName[ #tableWithMeaningfulName + 1 ] = value
>Oops! I changed the table name but forgot to change the name in the
brackets.
I see the issue, but the fix isn't to add new syntax for appending to tables
(or at least that is at best a partial fix). There may be other mentions of
the table name in other code that need changing after a copy and paste.
More useful (probably) would be some undeclared-variable-use checking to
warn about the other unchanged occurrences.
P.
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.3/446 - Release Date: 12/09/2006