How Class-based Programming Sucks (2011)
loup-vaillant.fr
How Class-based Programming Sucks (2011)
1–10 of 147 posts
Re: How Class-based Programming Sucks (2011)
#2At the end of the day, pick what language and coding paradigms best suit your problem domain and you as a coder. Pick right, and there's no mistake there.
Re: How Class-based Programming Sucks (2011)
#3Re: How Class-based Programming Sucks (2011)
#4Re: How Class-based Programming Sucks (2011)
#5Re: How Class-based Programming Sucks (2011)
#6The thing about "Class based Programming" - or Object Orientated Programming - is that it allows you to model a problem domain in real-world terms. No one approach is ever going to be perfect; OO being mutable makes it perhaps less founded (on the face of things) on formal principles, but for a lot of large codebases it can have a great beneficial effect on readability and maintainability - cognitive overhead is, per…
In the real world, everything is a process. Nothing ever stays the same or stands still. No object is the same object from one millisecond to the next.
Immutable state isn't just a formal exercise--it's a more authentic model of the world.
Re: How Class-based Programming Sucks (2011)
#7The thing about "Class based Programming" - or Object Orientated Programming - is that it allows you to model a problem domain in real-world terms. No one approach is ever going to be perfect; OO being mutable makes it perhaps less founded (on the face of things) on formal principles, but for a lot of large codebases it can have a great beneficial effect on readability and maintainability - cognitive overhead is, per…
OOP actually doesn't model the real world well at all. It seems to on the surface, but it completely ignores time. In the real world, everything is a process. Nothing ever stays the same or stands still. No object is the same object from one millisecond to the next. Immutable state isn't just a formal exercise--it's a more authentic model of the world.
To me that's as bad as saying "everything is an object".
I'd rather try and understand where each approach is best rather than picking a single approach and dogmatically applying it in every scenario.
Re: How Class-based Programming Sucks (2011)
#8The thing about "Class based Programming" - or Object Orientated Programming - is that it allows you to model a problem domain in real-world terms. No one approach is ever going to be perfect; OO being mutable makes it perhaps less founded (on the face of things) on formal principles, but for a lot of large codebases it can have a great beneficial effect on readability and maintainability - cognitive overhead is, per…
OOP actually doesn't model the real world well at all. It seems to on the surface, but it completely ignores time. In the real world, everything is a process. Nothing ever stays the same or stands still. No object is the same object from one millisecond to the next. Immutable state isn't just a formal exercise--it's a more authentic model of the world.
Re: How Class-based Programming Sucks (2011)
#9The thing about "Class based Programming" - or Object Orientated Programming - is that it allows you to model a problem domain in real-world terms. No one approach is ever going to be perfect; OO being mutable makes it perhaps less founded (on the face of things) on formal principles, but for a lot of large codebases it can have a great beneficial effect on readability and maintainability - cognitive overhead is, per…
I don't know, I think it's a point where education fails. Your average enterprise developer should be forced to read books like "Clean Code" by Bob Martin before being allowed to touch a keyboard.
Re: How Class-based Programming Sucks (2011)
#10Earlier quoted context omitted.
OOP actually doesn't model the real world well at all. It seems to on the surface, but it completely ignores time. In the real world, everything is a process. Nothing ever stays the same or stands still. No object is the same object from one millisecond to the next. Immutable state isn't just a formal exercise--it's a more authentic model of the world.
I'm sorry, are you arguing that immutability models the world more well than OO because no object in the real world ever stays the same ?