← Back to team overview

openerp-community team mailing list archive

Re: Coding Guidlines - long lines

 

Guys [0],

just a note of optimism (hey what else would you expect?):
with the new API [1], it will be easier to write shorter lines:
self.pool.get('ruby.rocks') -> self.pool['ruby.rocks'] (already available
on v7 in fact)
some_object.some_method(cr, uid, ids, *args, **kw) ->
some_object.some_method(ids, *args, **kw)
saving 3 to 7 chars isn't that bad in a 80 line.

Regards.

[0] Ana got caught by the morality police, right?
[1]
https://code.launchpad.net/~openerp-dev/openobject-server/trunk-apiculture


-- 
Raphaël Valyi
Founder and consultant
http://twitter.com/rvalyi <http://twitter.com/#!/rvalyi>
+55 21 2516 2954
www.akretion.com

Follow ups

References