rath@lemmy.worldtoProgramming@beehaw.org•Rust Module System Encourages Poor Practices (Comparing to Go)English
0·
1 year agoIn Java it’s really rare to see hundreds of files in a single package (dir)… do you have examples showing anything different??
It’s hard if you have unprotected, shared mutable state. If you use a language that uses immutable data structures (Haskell, Clojure, Erlang) it’s easy! If you use a language that won’t let you share mutable data without the required protection (Rust) it’s also easy! Everything else and you can be sure that even if it looks like it works, it most likely doesn’t.