|
|
От: |
#John
|
https://github.com/ichensky |
| Дата: | 28.11.20 16:59 | ||
| Оценка: | 16 (1) +1 -1 | ||
J>>class Chameleon
J>>{
J>> public Color skinColor { get; private set; }
J>> public void ChangeSkin(Color color) => skinColor = color;
J>>}
J>>S>class Chameleon
S>{
S> public Color skinColor { get; set; }
S>}
S>OOP to me means only messaging, local retention and protection and
hiding of state-process, and extreme late-binding of all things.
I thought of objects being like biological cells and/or individual computers on a network, only able to communicate with messages (so messaging came at the very beginning – it took a while to see how to do messaging in a programming language efficiently enough to be useful).