A Dilluns, 20 de febrer de 2012 13:02:34, Cédric Krier va escriure:
> On 20/02/12 12:51 +0100, Albert Cervera i Areny wrote:
> > A Diumenge, 19 de febrer de 2012 23:55:49, Cédric Krier va escriure:
> > > Also I'm wondering if all the directive should not have a prefix to
> > > prevent collision with other extensions, perhaps: tryfield, tryview...
> > 
> > I also thought about it, but decided not to do it this way because
> > haven't seen other modules doing adding any kind of prefix. That said,
> > if we eventually join menu and fields, we will probably want that to
> > make it more understandable. Such as 'tryref' or something like this.
> 
> I think it is not because others don't care we should :-)
> Indeed, I even think we should use the full "tryton_" as prefix to make
> it really clear to the source reader what it is.

I expect us to use lots of those references, so using a full "tryton_" prefix 
could be a bit annoying. Specially if one uses inline syntax with 80 cols. I 
think "tryref" is short and avoids collisions and given the docs will 
hopefully be in tryton modules, the rst code reader won't have any doubts on 
what that directive means.

-- 
Albert Cervera i Areny
http://www.NaN-tic.com
Tel: +34 93 553 18 03

http://twitter.com/albertnan 
http://www.nan-tic.com/blog

-- 
[email protected] mailing list

Reply via email to