Why do I shout at developers about whitespaces?

RumyanaRuseva

Are documentation and coding standards that important?

Everybody has seen bad code. Unfortunately not everybody realized it was bad. There are even now patches being committed with wrong indentation or bad coding style, no matter how hard the Drupal community is fighting against bad practices.

This session will cover some of the most common mistakes when writing Drupal modules. It will also include some tips and tricks we often forget about in Drupal 7, as well as how things change for Drupal 8.

  • How to document correctly
  • How to style your code
  • Things people forget (or don't know) about, and should use in every module
  • How to make fast and effective code reviews

Drupal standards and best practices are already well documented on drupal.org, yet developers often forget about them, or just choose to ignore them when in a hurry. The truth is that following standards does not slow us down; it even helps us optimize the speed and performance of the project instead.

Session Track

Coding and Development

Experience Level

Intermediate

Drupal Version