Re: Do you currently use namespaces?
- Posted by gshingles <gshingles at g?ail.?om> May 22, 2008
- 1046 views
Jeremy Cowgar wrote: > > Please respond with a yes or no. We are simply curious how widely used the > feature > is as this point. No. But I would a lot more if they provided a greater degree of OO. For example if the namespace was declared in the include file rather than by the end user, and if the namespace was taken from the relative path name and folders, like
-- math/matrix.e package math:matrix constant VERSION = 1.2.3 type matrix ... function identity() ..etc export matrix,identity(),mult(),add(),VERSION -- program include math:matrix.e matrix bob bob = identity() if isa(bob,math:matrix.e) then puts(1, "It's from the matrix include") end if
Like Perl :) But that's a large thorny topic so I'm happy with the current system as it is until around version 6... Gary