I'd like to see xhtml. Use whatever works in your code as long as it plays nice and as 
expected with other Drupal code. As for commenting, I encourage it, but I personally 
have trouble putting them in.

-Neil

--  
[EMAIL PROTECTED]
aim: ndrumm3
http://www.ews.uiuc.edu/~ndrumm

On Mon, 28 Jul 2003, Ka-Ping Yee wrote:

> Are there any coding or naming standards we are trying to follow,
> aside from what's mentioned in the Drupal docs?
> 
> For example, whether it's correct to write module_validate or to add
> a "validate" clause to module_nodeapi; whether it's necessary to
> produce XHTML or if HTML will do; or other things i should know about?
> 
> I was very unhappy to discover a few days ago that "spam" == 0 returns
> true.  Unbelievable... you can compare a true value to a false value
> and PHP will say they're equal.  (What were they smoking?)
> 
> Does this mean we should all be using === everywhere instead of ==?
> 
> Other tips from seasoned PHP experts would be great to hear.
> 
> Thanks!
> 
> 
> -- ?!ng
> 
> 

Reply via email to