RE: Digital Twin applied to Software
Steven Kelly <[email protected]> Tue, 8 Nov 2022 10:44:46 +0000
| Newsgroups | gmane.comp.lang.smalltalk.vwnc |
|---|---|
| Message-ID | <HE1P194MB0027C843F13B6F4AE198B82DA63F9@HE1P194MB0027.EURP194.PROD.OUTLOOK.COM> |
> > object: it has Identity and knows, what it can (ie. understands). > > Correct. The only issue is that it won't tell you until it's too late. I'd go further: - there are identities, but they're flexible. Objects are happy to swap to a new one as they grow, and other objects are fine with this. - it doesn't itself know what it understands or can do, but it can ask around if you need to know. The answer might change, and often it can understand and do more things than it believed it could. That's the beauty of #become:, #changeClassTo:, #doesNotUnderstand:, #perform:, pragmas etc. But beauty can be abused, and doesn't always age well: - used poorly, things don't work and nobody understands why - used well, but with the passing of time and imperfect human and organizational memory, things work and nobody understands why Steve