Re:TOML, Tom's Own Markup Language
by jlgreco on Monday February 25, 2013 @03:51AM
(#5277971)
How could:
possibly not qualify as "obviously bad"? The only reason you've offered up is because it is easy...
[ Parent
| on HN ]
Re:TOML, Tom's Own Markup Language
by DanWaterworth on Monday February 25, 2013 @04:19AM
(#5278023)
I think this is fine. The obviously bad part is being able to remove/change constants, especially as these changes are global.
The obviously bad part is that you pollute the global namespace for no reason other than laziness. When someone comes across code that uses a "Table" object interchangeably with "Dictionary" and "Hash", then he's going to have to look through the source code to find this bizarre line only to find out that you renamed a built-in container for no good reason.
Re:TOML, Tom's Own Markup Language
by DanWaterworth on Monday February 25, 2013 @03:57PM
(#5281741)
Yes, I suppose that's also true.