From: Robin B. <ro...@kn...> - 2001-09-21 15:58:43
|
On Thursday 20 September 2001 21:45, Antoine Quint wrote: > First off all, let's all celebrate waving goodbye to the awful > onload="init(evt)" call on the <svg /> element. Now setting up and iSVG > document is even simpler. Hurrah !! > And now for the BIG questions... Who votes for using methods and who > votes for using properties? Here's what I mean... Do we write > > node.getBBox().x > > Or > > Node.getBBox().getX() ? > > I have been using the latter in my code, but I'm listening to > suggestions... If you read the docs, Adobe voted for us. Using accessors is the only way to be fully portable and cross-platform. This is because of the limitations of certain platforms, amongst which Netscape of course. v3 changes that with its embedded interpreter, but its still better not to take chances. I vote for accessors. -- _______________________________________________________________________ Robin Berjon <ro...@kn...> -- CTO k n o w s c a p e : // venture knowledge agency www.knowscape.com ----------------------------------------------------------------------- An eye for an eye will make the whole world blind. -- Mahatma Gandhi |