▲ | constantcrying 5 days ago | ||||||||||||||||||||||
The talk makes a very specific complaint. That complaint is not that you are associating data with the functions operating on that data. What the talk is about compile time (and maybe execution time in the case of python) hierarchies being structured as a mapping of real objects. This is how I was taught OOP and this is what people are recognizing as "OOP". >So for the anti-OOP folks out there using languages like Python as an example, Just because a language associates data with functions, does not mean that every program hierarchy has to map onto a real world relationship. Why are you even commenting on this with your nonsense? Do you really think that if someone is complaining about OOP they are complaining that data types store functions for operating on that data? Has literally anyone ever complained about that? | |||||||||||||||||||||||
▲ | igouy 5 days ago | parent | next [-] | ||||||||||||||||||||||
> This is how I was taught OOP … That's unfortunate. "The simplistic approach is to say that object-oriented development is a process requiring no transformations, beginning with the construction of an object model and progressing seamlessly into object-oriented code. … While superficially appealing, this approach is seriously flawed. It should be clear to anyone that models of the world are completely different from models of software. The world does not consist of objects sending each other messages, and we would have to be seriously mesmerised by object jargon to believe that it does. …" "Designing Object Systems", Steve Cook & John Daniels, 1994, page 6 | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | pjmlp 5 days ago | parent | prev [-] | ||||||||||||||||||||||
What matters are language implementations and CS definitions, not layman understanding on the street. | |||||||||||||||||||||||
|