MetaStuff icon indicating copy to clipboard operation
MetaStuff copied to clipboard

Namespace name?

Open eliasdaler opened this issue 8 years ago • 9 comments

Namespace 'meta' is way too common, so it can lead to some name conflicts. 'metastuff', maybe? I won't change anything for now, so I'll leave it open for discussion.

eliasdaler avatar Sep 28 '17 08:09 eliasdaler

I propose the following :

namespace ms

for MetaStuff, metastuff is way too long for a namespace.

bl4ckb0ne avatar Sep 28 '17 13:09 bl4ckb0ne

It looks like "ms" namespace is not used by any major library, but still, it seems kinda generic. And you can do this:

namespace ms = metastuff;

eliasdaler avatar Sep 28 '17 13:09 eliasdaler

Then I don't see any objection about using metastuff as namespace

bl4ckb0ne avatar Sep 28 '17 13:09 bl4ckb0ne

Yeah, now it looks like a good name. I'm still not 100% sure about MetaStuff name, as it's a bit too generic as well (it would better suit a general purpose meta-programming library), but I think I'll go with metastuff if I don't find something better.

eliasdaler avatar Sep 28 '17 13:09 eliasdaler

MetaStuff as the name of the library?

bl4ckb0ne avatar Sep 28 '17 14:09 bl4ckb0ne

Yes, maybe library needs a better name.

eliasdaler avatar Sep 28 '17 14:09 eliasdaler

How about "SelfReflect" or the like? More than a better name it needs documentation, I have troubles figuring out all the tricks.

aggsol avatar Mar 13 '18 09:03 aggsol

Yes, SelfReflect sounds pretty good! I like that people can also do something like:

namespace sr = SelfReflect

Docs - yeah... I just put it as a proof of concept at first. Didn't really think people are going to use it in real projects.

If you have some questions - feel free to make issues or mail me. For now, example and this article are the main sources. In the future I'll be able to write docs, yes.

eliasdaler avatar Mar 13 '18 21:03 eliasdaler

Last Christmas, I was playing around with reflection ideas, and created a little library (not on Github, and probably won't be) called Spiegel, which is German for mirror. Maybe Zerkalo, which Google translate tells me is Russian for mirror?

It certainly won't clash with much C++ code out there.

ninkibah avatar Jun 04 '21 11:06 ninkibah