[fpc-pascal] Re: Re: [Bulk] Re: Namespaces Support

leledumbo leledumbo_cool at yahoo.co.id
Tue Oct 29 03:15:40 CET 2013

> Is it much different than just extending the prefix "M" to "MFP"?


> Nobody calls their units like "functions" or "functionsandprodures" (though I think I saw unit "funcs" one day)

I admit that I use "settings" or "config" quite often, though they're meant to be application specific instead of general library
Sent from my Android phone with mail.com Mail. Please excuse my brevity.

"dmitry boyarintsev [via Free Pascal - General]" <ml-node+s1045716n5717271h63 at n5.nabble.com> wrote:


On Mon, Oct 28, 2013 at 9:27 AM, Graeme Geldenhuys <[hidden email]> wrote:

I would have thought that is exactly what namespaces will be handy for! Or at least a popular use-case. Macros Douglas could define a "douglas" namespace, and the MSEide+MSEgui project could define a "msegui" namespace. Units, Classes or even lines of code should be able to say which namespace they are referring too.

Then the John Douglas and Douglas McKey are running into the same issue.

Both guys (while living on different parts of the world) created the same "douglas" namespace!

Similar to using the same "M" prefix for classes unit.

What option do these three guys would have now? Elevate another the level of name space?




Is it much different than just extending the prefix "M" to "MFP"?


P.S. Offtopic: I personally find it horrible to call a unit "classes" (it's fine for RTL, since it's started this way, but any other library - it is horrible). Nobody calls their units like "functions" or "functionsandprodures" (though I think I saw unit "funcs" one day), It is better to give more accurate name of the unit functionality: StrLists, UnicodeUtils, FileUtls, DateUtils.

fpc-pascal maillist  -  [hidden email] 


If you reply to this email, your message will be added to the discussion below:



		 		To unsubscribe from Namespaces Support, click here.

View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Namespaces-Support-tp5717153p5717272.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20131028/a2ea949d/attachment.html>

More information about the fpc-pascal mailing list