Re: Rob's going to hate me... (Remainder bug)
- Posted by Irv Mullins <irvm at ellijay.com> Nov 09, 2003
- 630 views
On Saturday 08 November 2003 10:02 pm, you wrote: > > Hello Irv, > > That's interesting news too. > I've been trying to convince Pete and Matt in another thread > "Pete: Your Question" > for the past several days now that this is a good thing > If you like you can check that thread to see if the > examples make sense to you. > > I see Derek might not exactly be 'pro' 'new includes' either. > > I think it depends on how much you have already used namespace > prefixes. If you have used them a lot then you tend to > like this new technique it seems. The way i see it, > everyone will catch on sooner or later > It's a very a powerful technique of namespace useage, but > in order to understand it people have to have see and understand > exactly why it's so powerful. It's not just another way of > doing something, it's doing it better in some cases. > When something cant benefit directly from this, sometimes it's > just plain ol faster to write and easier to maintain. > Apparently you have already discovered the maintainence part It's not as complete a solution as true object-orientation would be, since there's no easy way to override "methods". The only way I've found so far is to put the methods (routines that need to be different for different instances) into their own small includes. This has the unpleasant effect of increasing the number of files to juggle, and Eu's namespacing isn't quite up to the task of putting TWO includes into the same namespace, so the naming can get awkward. Irv -- Robert Tappen Morris, Jr., got six months in jail for crashing 10% of the computers that Bill Gates made $100 million crashing last weekend.