health-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health-dev] Commenting XML block


From: Cédric Krier
Subject: Re: [Health-dev] Commenting XML block
Date: Fri, 18 Dec 2015 13:14:55 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On 2015-12-18 11:30, Luis Falcon wrote:
> On Fri, 18 Dec 2015 12:11:41 +0100
> Cédric Krier <address@hidden> 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: address@hidden
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Attachment: pgp9LO2PLxoK4.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]