Livecode 10.0.0dp5 new reserved words
mark at livecode.com
Tue Jul 11 08:26:31 EDT 2023
On 2023-07-11 13:20, Paul Dupuis via use-livecode wrote:
> Thank you! Bug filed:
> I am fine changing 'tExt'. As Martin just posted, ‘All words in the
> English Dictionary should be considered reserved words.’ is not a bad
> rule. Just to illustrate how the eyes and mind can play tricks, I have
> been using the variable 'tExt' for parsing file extensions for DECADES
> and ONLY TODAY realized that it was the word 'text'! I never saw it as
> a dictionary word until today!
Yeah - Martin is correct that the rule about words in the English
dictionary should all be considered reserved is still very much in
force, and has been around longer than I've worked here!
Cases of using 'tExt' is not uncommon - as it is really difficult to see
that it is 'text'... Another one (which bit Ali recently) is `pLayer'.
I'm sure there are a fair few other examples.
Anyway, we'll try and figure out what has changed to cause the change in
behavior - at the very least we can go back and add a 'breaking change'
warning to the release note for the change which caused the issue.
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Build Amazing Things
More information about the use-livecode