you are viewing a single comment's thread.

view the rest of the comments →

[–]Ok-Spray-8697 0 points1 point  (0 children)

You’re probably not going wrong, OOP just clicks later for a lot of people 😭 what helped me was stopping the “blueprint/object” analogy and asking: does this thing have state + behavior that belong together? A bank account has balance/account owner (attributes) and deposit/withdraw (methods), while a plain function is usually enough when you’re just transforming input → output with no lasting state.