On Jan 7, 2004, at 12:46 PM, Taco Fleur wrote:
* Indentation of code.
Got it - but still need to work it out in detail and post it, but any help
is appreciated ;-))

Yeah, this is a tricky one. I made a stab at it in Macromedia's guidelines and offered some alternatives but it's the one thing I try not to get too religious about. The bottom line is:
- indentation should be logical and help people read your code


* Structure of SQL statements, ie can all the variable names
go on the same line?
No, I recommend not - I always structure them like

SELECT            column
FROM              table
WHERE             ()

I like layouts like this that have plenty of whitespace and read easily from top to bottom.


Definitely, but let me know if you want to post it or not, what I am trying
to achieve is get some LIVE document going, i.e. not some rules I have
worked with but something that is discussed by more than one developer.

Good idea. Same reasoning behind Macromedia publishing their guidelines on LiveDocs so that folks can submit comments.


I'll go and provide comments on some of your guidelines rather than posting them here!

Regards,
Sean


--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to