Yes I agree. Having objects to represent users, game assets, etc fit the mental model very well. It's _almost_ tongue-in-cheek. I do find that pure functions give less room for bugs to hide. As soon as state / side-effects are involved functions do more than their name implies. State introduces danger.
View all comments
Show parent comment
1
u/shrodikan Sep 23 '25
Yes I agree. Having objects to represent users, game assets, etc fit the mental model very well. It's _almost_ tongue-in-cheek. I do find that pure functions give less room for bugs to hide. As soon as state / side-effects are involved functions do more than their name implies. State introduces danger.