Re: Conflicts with words
- Posted by mattlewis (admin) Sep 10, 2012
- 1087 views
sergelli said...
mattlewis said...
No, it would be much worse. You have now sabotaged your euphoria installation. Anything that you try to run that already uses that would fail. And you cannot easily share your code with anyone else.y if you've changed something like the standard library.
I thought it would be better, because, for example, changing "close" to "end", the size of the "EXE" resulting is lower than when using the namespace qualifier:
--success=end(sock) -- .exe size = 316.416 success=sockets:close(sock) -- .exe size = 316.928
Hmm...I didn't think you could use end for a function name, being a reserved word. I get an error when I try that. I also wouldn't consider the size difference mentioned to be at all significant. And it causes all of the other trouble that I mentioned.
Matt