On 11/03/12 11:30 +0100, Albert Cervera i Areny wrote: > A Dissabte, 10 de març de 2012 14:52:07, Cédric Krier va escriure: > > On 10/03/12 13:08 +0100, Albert Cervera i Areny wrote: > > I agree, it is an idea in the pipeline since sometimes. > > But I think it should be changed globaly. > > Why should it be changed globally. If we said that properties can be changed > one at a time, I don't see why we can't commit checks that raise exceptions > while existing ones still return False.
Here are my reasons:
- The base code of Tryton must be an example of good practices for
developpers.
- It is a good way to ensure that every constraints is reviewed and
improved.
- The documentation must reflect the practice.
About properties, my thoughts were to have an example. But once there is
one working example, we should migrate every Models and remove
properties for the same reasons as above.
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/
pgpsGqqEhkxGx.pgp
Description: PGP signature
