Hello everybody,
In most examples of code, objects (InstrumentList, ReportTemplate, Schedule ...) are created, used, and then deleted.
Considering that they can be called either by the API or by the web interface, in what extent would it be a good idea to avoid to suppress the objects systematically, and to rather initiate them with get() methods rather than create them each time ?
That way we can imagine a way to allow users to add some data in a list, the code would create the object again with default values when the expected object is not found on the server.
For this reason I imagine it would then be a better idea to designate an object by its description than its id.
Did I miss a main restriction against this conception ?