[Koha-devel] Tab stops in source code

Sébastien Nadeau Sebastien.Nadeau at bibl.ulaval.ca
Fri Nov 14 15:14:22 CET 2008


Hi,

> -----Message d'origine-----
> De : koha-devel-bounces at lists.koha.org 
> [mailto:koha-devel-bounces at lists.koha.org] De la part de Rick 
> Welykochy
> Envoyé : 13 novembre 2008 20:08
> Objet : Re: [Koha-devel] Tab stops in source code
>
> TABs are metadata, not display data. They give the programmer 
> and reader a reliable indication of the structure of a 
> program through consistent indentation.

This is debatable. The structure of a program is the code. The way this code is displayed on a screen is the presentation. A program don't need any tabs or indentation to run, because tabs do not control anything. The code could be all on one line and run nevertheless because its structure is correct.

Visual structure == presentation and tabs or spaces are part of that structure, not part of the structure of the program itself.

And for what it's worth, I prefer tab over spaces in my own code.

Sébastien Nadeau
Bibliothèque de l'Université Laval



More information about the Koha-devel mailing list