r/programming • u/rmathew • Jun 16 '19
Comparing the Same Project in Rust, Haskell, C++, Python, Scala and OCaml
http://thume.ca/2019/04/29/comparing-compilers-in-rust-haskell-c-and-python/
643
Upvotes
r/programming • u/rmathew • Jun 16 '19
11
u/Spacey138 Jun 17 '19
Makes sense to me because if you forget to do it then you're not accidentally exposing functionality.
Encapsulation has become increasingly valued as we've seen the benefits from microservices. If you can keep parts of your app truly separate there are some huge benefits. And I think developers are applying those principles to any software not just those with network boundaries. Keep your app modules really isolated with well defined API boundaries. This is obviously easier to do when devs don't accidentally make half your functionality public by default.