6 ms·
I thought about some fancy, meaningful prefix. But in the end I decided, it doesn't really matter as long as it's unique. So mt stands for my name (Maurice Tol
by EllipticCurve 10y ago
I thought about some fancy, meaningful prefix. But in the end I decided, it doesn't really matter as long as it's unique.
So mt stands for my name (Maurice Tollmien).
- cyphar 10y ago> it doesn't really matter as long as it's unique. It sort of does, because the library isn't called (or has the acronym) "mt". Why not call it "xbox*" or something like that?
- EllipticCurve 10y agoBecause I needed an acronym that I also could use for the vector and quaternion library. Especially for the vector library, as chance of conflict is highest there.
- exDM69 10y agoYou really don't need to prefix everything with the same prefix everywhere, even in C. Using a per-module prefix that is unlikely to clash is enough. For your vector and quaternion libs... You should make them header only, all static inline functions and perhaps with always_inline attribute if you care about performance. This also removes any need for prefixes.
- EllipticCurve 10y agoI won't continue that mt Prefix streak. Maybe I think of something better later :) That is a good idea, I will look into that, thanks!