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