In the world of linguistics, we have a duality of "prescriptivism" and "descriptivism". In the foolish war between people of both sides, truth is , "prescription" and "description" are coupled with each other in all world languages, perhaps with 1 of the 2 being more dominating in its influence on the whole language that we are examining.
As follows from language, it should be implemented in Programming languages. What I propose, is pretty much adding a "prescription" String property to "CustomStringConvertible" OR have it as a func that computes hashes.
I do this for enums but haven't fully been able to tap into the real power of "prescription" values in my enums because I feel I may need to learn how to create hashing systems as well as know how to use key paths. But also, I wonder if "prescriptions" are more appropriate as a function rather than a property since we as humans function on the prescriptions we assign to objects.
My personal use of "description" is more for values context needed for showing the user.
My personal use of "prescription" is more for referencing contexts I need as a developer.
I am interested in what you have to say about this.