Thanks IOhannes, awesome response. Agree that it looks good on the eye with that format.
Ta,
J.
On Fri, 10 May 2019 at 11:45, IOhannes m zmölnig zmoelnig@iem.at wrote:
On 5/10/19 11:49 AM, Julian Brooks wrote:
Hi all,
Is there a reason to not make use of a full stop in a namespace? E.G. [julianslib.dac~]?
a) there's no such a thing as a "namespace" in Pd. b) the closest we have to namespaces is just filesystem-layout, meaning you get a directory "julianslib/" and therein a file "dac~". this magically gives you an automatic namespace separator "/" (as in [julianslib/dac~]) c) directories are a nice way to keep contents of a folder managable. it's usually easier to navigate an extra/ folder that contains (among other things) a "julianslib" and a "zexy" directory (each containing
100 library objects), instead of 100 julianslib.* files and another 120
zexy.* files. you can of course put the "julianslib.*" files into the "julianslib/" directory, thus forcing the user to use both [declare -path julianslib] *and* a namespaced objectname. d) when using single-object-per-binary externals (e.g. julianslib.dac~.pd_linux), you need to take special care to construct a proper entry-point symbol ("setup_julianslib0x2edac_tilde")
apart from that, i don't think there are any obstacles. it certainly looks nice.
gsmdar IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list