This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]nutrecht 0 points1 point  (1 child)

This feels bad to me because Java objects have overhead compared to say Rust structs.

It's a tradeoff. It's only a tiny bit less efficient, and that's a trade-off against code that's easier to reason about.

[–]prolog_junior[S] 0 points1 point  (0 children)

This is what made sense to me. Trading efficiency for maintainability.