News for hackers. Stuff that matters.
Re:The faster you unlearn OOP, the better for you and your s... by segmondy on Sunday November 25, 2018 @10:28AM (#18527241)
It's not OOP that's the problem, but your mental model. There's no OOP language that says a car has to have one color.

You can define an object to have more than one color, or maybe instead of having a color have a color pattern. How creative is your imagination? If you use a tuple of (r, g, b) to represent color in a functional language, you will still have the same problem when you realize you can have multiple colors or design patterns. if your mental model has a mismatch with the real world, you will have problem at some point.

Re:The faster you unlearn OOP, the better for you and your s... by mercer on Monday November 26, 2018 @05:18AM (#18532309)
Sometimes it's not primarily that it's impossible to model this stuff in OOP, but rather that the change in requirements over time can be more difficult to implement in an OOP codebase. At least that's been my experience.