Global Feed Post Login
Replying to Avatar ᴛʜᴇ ᴅᴇᴀᴛʜ ᴏꜰ ᴍʟᴇᴋᴜ

yes, and so did Oberon and then Go

the fact that all the popular languages other than Go don't use it is pretty messed up

it makes it a lot easier to create good names for things

i mean, how does C even make namespaces at all?

why are we still suffering from OOP nonsense when you can make filesystems and namespaces that are one and the same?

personally, i always call my directories the same name as the package i put inside them, and this is a common practise with #golang it's even a setting in intellij for Go, to automatically rename packages if you rename folders, and vice versa

may i suggest that you adopt the idea of just making the directories the names for referencing them? actually, there is no reason to repeat this!

Avatar
Tristan Brice Velloza Kildaire 1y ago

The name resolution is tied to the module names. The strict headed option is only optional now because some unittests don't yet conform.

I will be defaulting it to true soon, once done with those tests.

Then yes, it enforces the matching of names to FS

Reply to this note

Please Login to reply.

Discussion

No replies yet.