webalchemy icon indicating copy to clipboard operation
webalchemy copied to clipboard

consider chaining methods

Open skariel opened this issue 11 years ago • 0 comments

e.g.

d= self.rdoc.element('div').style(
    background='#AAFFAA',
    ).appendto(self.container)

instead of...

d= self.rdoc.element('div')
d.style(
    background='#AAFFAA',
    )
d.appendto(self.container)

maybe its better with longer names... actually doesn't seem too valuable.

skariel avatar Nov 21 '13 07:11 skariel