3 ms·
Yes that's my thinking. Everything can be done both ways, but in my experience structs have a better track record. Also different languages implement objects di
by totony 6y ago
Yes that's my thinking. Everything can be done both ways, but in my experience structs have a better track record. Also different languages implement objects differently which adds mental overhead. Copying structs or marking them read-only is also usually easier vs an object which manipulates its own state.