Re:Learning Rust – Day 4 – Understanding Modules
by AlchemistCamp on Friday May 13, 2022 @12:08AM
(#31363215)
Rust's newer scheme is basically the same way it works by convention in Elixir (a more modern language than Golang or the others you listed).
The older mod.rs scheme seems like an unneeded special case to me, but even that isn't exactly alien compared to what other popular programming languages have done before.
The older mod.rs scheme seems like an unneeded special case to me, but even that isn't exactly alien compared to what other popular programming languages have done before.