<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<blockquote type="cite">
<div><br>
Then the John Douglas and Douglas McKey are running into the
same issue. <br>
</div>
Both guys (while living on different parts of the world) created
the same "douglas" namespace!<br>
</blockquote>
<br>
That's why most languages use domains as namespace<br>
Then you would have<br>
<br>
net.delfire.douglas.*<br>
org.msegui.*<br>
<br>
and no collision<br>
<br>
<div class="moz-cite-prefix">On 10/29/2013 02:48 AM, Dmitry
Boyarintsev wrote:<br>
</div>
<blockquote
cite="mid:CAMpTZrcQTYekGURcJxdnMjWr3O9n958tG3EheAkZGjdu5WESjA@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">On Mon, Oct 28, 2013 at 9:27 AM, Graeme Geldenhuys
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:graeme@geldenhuys.co.uk" target="_blank">graeme@geldenhuys.co.uk</a>></span>
wrote:<br>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote">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.<br>
</blockquote>
<div><br>
Then the John Douglas and Douglas McKey are running into
the same issue. <br>
</div>
<div>Both guys (while living on different parts of the
world) created the same "douglas" namespace!<br>
<br>
</div>
<div>Similar to using the same "M" prefix for classes unit.
<br>
<br>
What option do these three guys would have now? Elevate
another the level of name space?<br>
</div>
<div>john.douglas<br>
macros.douglas<br>
</div>
<div>mckey.douglas <br>
</div>
<div>douglas.mckey?<br>
<br>
</div>
<div>Is it much different than just extending the prefix "M"
to "MFP"? <br>
</div>
<div><br>
thanks,<br>
Dmitry<br>
<br>
</div>
<div>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.<br>
</div>
<div><br>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
fpc-pascal maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</a></pre>
</blockquote>
<br>
</body>
</html>