The Crystal Programming Language Forum

Namespaces

Should a shard use a common namespace such as Crypto::Foo, Cryptography::Foo or use the name of the shard?

I feel like that depends on the shard. For cases when a shard is meant to add extra functionality to an existing shard I don’t see a problem with using the same namespace, but in most other cases I feel like the namespace should echo the name of the shard.

1 Like