Confirmed users
709
edits
| Line 35: | Line 35: | ||
== Do's and Don'ts == | == Do's and Don'ts == | ||
* Always comment your code. | |||
** Function definition blocks at the least | |||
** Inline comments for complex code, use your best judgement | |||
* Don't touch the Drupal core. If you think you absolutely have to, ok it with another developer and document where and why you did so. | * Don't touch the Drupal core. If you think you absolutely have to, ok it with another developer and document where and why you did so. | ||
* Always put a bug # and comment in your commit messages. | * Always put a bug # and comment in your commit messages. | ||