hard tab: ascii \x09
soft tab: hard tab remplcé par des espaces par l'éditeur
On connaissait la guerre vim/emacs mais connaissiez vous la discussion sans fin sur l'usage du hard tab et soft tab dans le code.
J'avoue que je suis partagé même si j'utilise des hard tab que je visualise à 4 dans mes éditeurs (vim et SciTE). Une hérésie pour Linus Thorvald qui utilise le hard tab ET le visualise à 8.
http://www.movementarian.org/docs/whytabs/Tabs are 8 characters, and thus indentations are also 8 characters.
There are heretic movements that try to make indentations 4 (or even 2!)
characters deep, and that is akin to trying to define the value of PI to
be 3.
http://www.adamspiers.org/computing/Lin ... odingStyle
http://www.adamspiers.org/computing/why_no_tabs.html