3 ms·
Using a separate character for namespace resolution and field indexing allows you to have a module with the same name as a value.
by pcwalton 4y ago
Using a separate character for namespace resolution and field indexing allows you to have a module with the same name as a value.
- metaltyphoon 4y agoWouldn’t this be trivially solved by having namespaces follow the same PascalCase semantics as types? I.e use Std.String; …. let string = String(…);
- dagenix 4y agoThat's a different trade off. It's not a solution.