On 2015-12-18 11:30, Luis Falcon wrote:
> On Fri, 18 Dec 2015 12:11:41 +0100
> Cédric Krier <[email protected]> wrote:
> > For me, it is OK to put some comments in the XML view to guide
> > developers.
> > But it is not OK to comment parts of the view for history reason. The
> > history is managed by the VCS. This behaviour is similar to commenting
> > code because it is no more used. This is often considered as bad
> > practice and I think GNU Health should consider the same.
> It makes sense. Agree on those terms.

But do you agree that such things [1] should not be done.
It brings no value, make the view more difficult to read and odds that
it will be forgot to be removed.

> I propose having the method on tryton to strip XML
> comment blocks from the DB instance to make the views lighter. Of
> course, the original XML view file and its comments would remain the
> same.

Done with https://bugs.tryton.org/issue5189


[1] http://hg.savannah.gnu.org/hgweb/health/rev/8c645af9b265#l1.14

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgp1neKDDsGcu.pgp
Description: PGP signature

Reply via email to