TypeScript namespaces

See Utils and Services about our standard concept.

But TypeScript already has namespaces!

Yes, TypeScript has an actual namespace concept, which you're of course free to utilize in the same manner in your own projects, but we find a class much simpler concept for this particular use case.

Especially I like the class style because of private, protected and public methods, and generally much wider support -- e.g. namespaces are not supported directly in ES systems like NodeJS and other Google v8 -based systems (at the time when this article was written).

There is also this article about avoiding namespaces, since it may be unlikely namespaces are introduced to the standard while there's already a concept to implement them. It's of course just speculation. You're always free to go with actual namespaces. Just be consistent.