On Saturday 18 November 2017 21:32:47 ilya.kazakev...@jetbrains.com wrote:
> > Such computations always end up slightly different in some
> > edge cases
> 
> I agree.
> We can document this fact. Model authors should be aware that they are not
> allowed to use anything but literals. All other functions are used on their
> own risc. 

I believe this suggestion is a footgun -- more likely to be used incorrectly 
than it is to be used correctly. People don't really read the docs that 
carefully.

For this to be viable, the rule of "nothing but literals and comparisons" 
needs to be enforced, not just documented.

As a project, then, we have to decide which we like better: 

(1) An API which gives uniform use of the properties whether the object is 
saved or not; or,

(2) An API which exposes the full capabilities of the database

I'd go with (2).

Shai.

Reply via email to