RE: My not-quite obsolete namespace parser
- Posted by Derek Parnell <ddparnell at bigpond.com> May 15, 2002
- 356 views
Robert Craig wrote: > > C and C++ and probably most others > don't detect duplicate include references at all. > You just get an avalanche of "attempt to redefine ..." messages. > C/C++ programmers have to set up elaborate systems > of kludgy #ifdef's to avoid redefining stuff. Bjarne Stroustrup > has admitted that this is a flaw in the C/C++ include file mechanism. > > I'm content with the current way of handling duplicate includes. > It's been that way for 9 years and I don't recall anyone complaining > about it. There aren't many other features with as clean a record. As I've written before, Euphoria is perfect already As a philosophical diversion: Are two files the same if their names are the same or if their contents are the same? ----------- Derek