J
James Harris
One thing I like about some other (non-C) languages is their
management of names so I got to wondering: Would it be a good or a bad
idea to use C's structs to provide some of the features of namespaces?
Unless the idea is a total non-starter are there *any* ways in which
it could usefully be used? The more I think about it the more options
come to mind but maybe I am not familiar enough with C to see why I
have never come across C programs which work that way.
James
management of names so I got to wondering: Would it be a good or a bad
idea to use C's structs to provide some of the features of namespaces?
Unless the idea is a total non-starter are there *any* ways in which
it could usefully be used? The more I think about it the more options
come to mind but maybe I am not familiar enough with C to see why I
have never come across C programs which work that way.
James