Re:The use of `class` for things that should be simple free ...
by totony on Thursday May 28, 2020 @05:50PM
(#23343180)
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.
[ Parent
| on HN ]
There are no comments on this comment yet.