3 ms·
I do dislike how it forces entirety of code to be under single file. I can't for example shove all of the definitions into single file then use it in other fil
by ilyt 3y ago
I do dislike how it forces entirety of code to be under single file.
I can't for example shove all of the definitions into single file then use it in other files without using sub-modules for no good reason, I much prefer "module = directory" approach to "module = file"
- inferiorhuman 3y agoI much prefer "module = directory" approach to "module = file" https://doc.rust-lang.org/reference/items/modules.html https://doc.rust-lang.org/reference/items/modules.html
- ilyt 3y agoWhy are you linking a document showing module need to be single file ?