<div dir="auto"><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Jan 3, 2018 10:24 PM, "Derek Kwan" <<a href="mailto:derek.x.kwan@gmail.com">derek.x.kwan@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text">"Christof Ressi" <<a href="mailto:christof.ressi@gmx.at">christof.ressi@gmx.at</a>> writes:<br>
<br>
>> and usually involves sort of prefixing or suffixing for every<br>
>> abstraction/external.<br>
><br>
> I've also done this in the past.<br>
> namespacing by prepending the folder name has one advantage, though:<br>
> it provides you the possibility to choose between the long (safe) and<br>
> short (unsafe) name. short names are convenient in rapid prototyping<br>
> while long names are preferable if things ought to be robust.<br>
><br>
> but after all, it's a matter of taste I guess.<br>
><br>
<br>
</div>Interesting. I suppose this makes me think about more robust and defined<br>
examples of namespacing. Taking python for instance where you can import<br>
modules with shorter names with something like "import numpy as np" so<br>
you can just type "np.array" instead of "numpy.array" each time or you<br>
have the option to dump everything into the  global namespace which is<br>
similar to the situation we have currently of just importing the path or<br>
compiled library wholesale through "from numpy import *".<br>
<br>
I'd imagine that implementing a system like this in Pd would be very^999 far<br>
from trivial to implement, cause more confusion to the general end-user<br>
than it's worth it just because users like me don't want to type<br>
[cyclone/*] out every time (and there is already enough confusion about<br>
not being able to instantiate anything in Gem/zexy/cyclone/etc.  even though<br>
they've already installed them onto their computers), and probably break<br>
everything which would be a huge no-no..................... but it is<br>
interesting to think about =P.<br>
<div class="elided-text"><br>
Derek<br>
</div></blockquote></div></div></div><div dir="auto"><br></div><div dir="auto">maybe I'm stretching the topic here, but, how about tab-completion? </div><div dir="auto"><br></div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="elided-text"><br>
--<br>
Derek Kwan<br>
<a href="http://www.derekxkwan.com" rel="noreferrer" target="_blank">www.derekxkwan.com</a><br>
<br>
______________________________<wbr>_________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/<wbr>listinfo/pd-list</a><br>
</div></blockquote></div><br></div></div></div>