Namespace clobbering internals
- Posted by Jeremy Cowgar <jeremy at ?o?gar.com> Apr 30, 2008
- 843 views
I create a db.e file that defines the word close. I then:
include db.e as d --- do things f = open(filename, "w") -- later close(f)
It called the database's close function, not the internal. So, even if you use a namespace, your included files cannot define functions by the same name as an internal and you expect to continue to use an internal function? -- Jeremy Cowgar http://jeremy.cowgar.com