3 ms·
Probably to avoid making 'data' a reserved word and breaking a ton of code that used 'data' as a variable name. Prior to Java 5, 'enum' was a very popular varia
by avemg 9y ago
Probably to avoid making 'data' a reserved word and breaking a ton of code that used 'data' as a variable name. Prior to Java 5, 'enum' was a very popular variable name too.
- aisofteng 9y agoI'm having a difficult time trying to think of a case where "data" is the best variable name for anything.
- deleted 9y ago[deleted]
- deleted 9y ago[deleted]
- nikolay 9y agoPlus, it's 2017! There are so many tools to do a semantic search and replace and replace all variables, parameters, etc. called "data" with, let's say, "__data__". Why uglify the language instead of providing a migration tool like Python's 2to3?!