3 ms·
That’s what OOP should handle though. You shouldn’t let internal objects escape if it is not intended. Don’t get me wrong, I really like RAII or Rust’s compile
by kaba0 5y ago
That’s what OOP should handle though. You shouldn’t let internal objects escape if it is not intended.
Don’t get me wrong, I really like RAII or Rust’s compiler enforced ownership model but it doesn’t solve everything. Eg. it only disallows data races not race conditions.
Also, immutability goes a long way toward solving all that.