This is a single archived entry from Stefan Tilkov’s blog. For more up-to-date content, check out my author page at INNOQ, which has more information about me and also contains a list of published talks, podcasts, and articles. Or you can check out the full archive.

REST and Properties

Stefan Tilkov,

Good analogy from Matthias Ernst:

We expect to read a property without visibly affecting the object. Reading properties is supposed to be a safe operation. We also expect setting the same value for a second time to have no tangible effect. Setting properties is supposed to be idempotent. The values we see from properties may or may not be the actual state of an object, they are merely a representation.