Why Nostr? What is Njump?
2023-09-25 22:47:33
in reply to

Mo :ferris: :tux: on Nostr: npub16pdlj…q3nda One might ask, why not just put the file `submod.rs` inside the ...

One might ask, why not just put the file `submod.rs` inside the `submod` directory (instead of next to it or `mod.rs` inside it)?
Well, that would make having a submodule with the same name (submod::submod) impossible with variant 2! (Not that I would recommend that design)

More importantly, it makes expanding from variant 2 to variant 3 very easy! Or actually, it makes variant 3 only an extension of 2.
Author Public Key
npub1j7fc87rk03whjh72mphc9hrm8zecfsdywdcscsesznwzcrasudvs75mapy