Re: coding standards
Charles Goodwin <[email protected]> Sat, 21 Feb 2004 01:37:10 +0000
| Newsgroups | gmane.comp.java.xwt.widgets |
|---|---|
| Organization | XWT Foundation |
| Message-ID | <[email protected]> |
On Sat, 2004-02-21 at 00:35, Charles Goodwin wrote: > I'm trying to adhere to fairly strict coding standards Better term; code ordering. And I've changed my mind. This is the order: - thisbox.x declarations (no trapping) - var declarations (no trapping) [makes it easy to see what the template defines at a glance] - thisbox.traps in alphabetical order [where r/w, r first and function references where required] - var functions/traps in alphabetical order - Capitalised thisbox properties like SizeChange etc last -- - Charlie The future of the net - www.xwt.org Charles Goodwin <[email protected]> Member of the XWT Foundation