Re: Euphoria Standard Library on UBoard
- Posted by Derek Parnell <ddparnell at bigpond.com> Jul 28, 2005
- 545 views
Bernie Ryan wrote: > > > I been using Euphoria for over 5 years and have had to use > different names for my routines many times. I have respected > other users names and have had to use a different name. > I think that you will find that is why derrek started his > his present naming convention in the win32lib. When you and > and jason have written a lots of code to contribute to > the archive you will understand why it's not easy to come up > with different names and then to have to change them. > Why don't you prefix your routines as derrek does ? NO! DO NOT DO WHAT I DID! I renamed all the global stuff because I got annoyed with some joker who told me off for using 'commonly used' names for the routines. It forced him to use name spaces to disambiguate names already used by himself. So instead of doing the rational thing of telling where to stick it, I hurt myself and others by renaming everything. I was stupid. Prefixing globals with a 'special' code is just a hard-coded namespace fix. It helps no one in the long term. For example, RDS has not prefixed its routines so why should we? If the name fits then use it. If two names clash, use the namespace feature to resolve them. If that does work (because of the stupid RDS implementation), then rename one of them. If that doesn't work, then shout very loudly at RDS to fix the namespace situation. But don't start dictating to other coders how they must name their routines. -- Derek Parnell Melbourne, Australia Skype name: derek.j.parnell