←back to thread

873 points belter | 1 comments | | HN request time: 0.204s | source
Show context
gorjusborg ◴[] No.42947212[source]
No, objects aren't generally 'good', unless you think keeping multiple state machines in sync is 'good'.

OO is not evil, but it also shouldn't be your default solution to everything.

Also, who is this person? I immediately distrust someone who calls themselves 'a pretty cool guy'. That's for the rest of us to decide.

replies(4): >>42948148 #>>42948743 #>>42949044 #>>42949626 #
1. naasking ◴[] No.42949044[source]
> No, objects aren't generally 'good', unless you think keeping multiple state machines in sync is 'good'.

Sure, if you disregard good object design, like the single responsibility principle and using mutability only when really needed.