Knigge für Programmierer

Kommentieren Aug 06 2015


Ja so was wie den Knigge gibt es auch für die Programmierer:

Optimal indent size for code readability

In this article, we investigate the effects on source code, when using small or large indentation size. Small idention sizes seems to have a negative effect on code readability. Larger ones, the opposite.

Style your webpage like Edward Tufte’s handouts.

Every major open-source project has its own style guide: a set of conventions (sometimes arbitrary) about how to write code for that project. It is much easier to understand a large codebase when all the code in it is in a consistent style.

Skipping comments leads to higher quality code

Every now and then I find myself in the discussion of whether we should use comments in our code or not. I believe that comments are often misused as duct tape for bad code and limiting their use leads to higher quality code.