Author Topic: What is an "Instance"?  (Read 2025 times)

Glassboy

  • EA User
  • **
  • Posts: 896
  • Karma: +52/-54
    • View Profile
Re: What is an "Instance"?
« Reply #30 on: September 20, 2017, 01:13:42 pm »
Your collective points being?

In the interests of consistency - number plate isn't an attribute of a class called car.  It's an attribute of another class. :-)
It can be a derived attribute of a car...  Using J.R. Abrial's(1) Access Functions we can define Car.NumberPlate as NumberOf(PlateAttachedTo(Car)).   The Access Function precisely defining the query required to return the Number Plate against a specific Car.

I'm pretty sure you're just agreeing with me :-)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 5874
  • Karma: +71/-77
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: What is an "Instance"?
« Reply #31 on: September 20, 2017, 04:39:58 pm »
[SNIP]
I'm pretty sure you're just agreeing with me :-)
Yes, but I'm having my cake and eating it too!   ;D

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!