4 ms·
You are extraordinarily ignorant of the history and design of programming languages to be making such statements. `object = state` is not a paraphrasing of fir
by mjburgess 5y ago
You are extraordinarily ignorant of the history and design of programming languages to be making such statements.
`object = state` is not a paraphrasing of first order logic; it is a paraphrasing of the english sentence,
"The intention motivating OOP is that the object represents state; the object's API represents changes to its state; an encapsulation ensures those changes are privately managed."
which if you understood any of the context to this discussion, you would have captured -- see, eg., the other commenter who captured this accurately.
I have taught hundreds of hours on programming language theory, and it is what I am doing today; and it is something I have been doing for a decade (not least, programming for two decades).
I take this tone with you because assuming a person cannot /reason/ basically is an extraordinarily arrogant view which presumes you have precisely captured the context of their statements.
In cases of apparent "basic failures to reason appropriately" it is almost always the observer, not the speaker, who has failed to arrive at the correct "propositional model" of their spoken/written language.
You would do well to remember this, and include more humility in your communications.
- lostmsu 5y agoAdmittedly, I turn arrogant when I (potentially mis-)smell bullshit. First of all, it does not matter what the initial intention was when OOP started growing to where it is now. The whole historical argument makes no sense whatsoever. The fact that something was like X in the past does not mean it is going to be like X in the future. Second, I have a lot of doubt about the statement, that the idea of object API was solely to represent changes to object state. Unless you can link a supporting quote, I am ready to dismiss it as made up.