#PEAR sur IRC (Previous) (Next) Structures de Contrôles

View this page in Last updated: Sun, 29 Jun 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Chapitre 3. Convention de codage

Note : La convention de codage PEAR s'applique à tout le code qui fait partie de la distribution officielle de PEAR. La convention de codage permet de conserver un code consistant et de le rendre lisible et maintenable facilement par les développeurs PEAR.

#PEAR sur IRC (Previous) (Next) Structures de Contrôles

Download Documentation Last updated: Sun, 29 Jun 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
Note by: akronymn
The suggestion on line lengths is only partly due to terminal considerations. Readability of code is also a very important issue. It's not about setting a precise limit for the sake of consistency so much as giving a guideline to make sure that your code is easily readable both by yourself and others who must follow it later.
Note by: SnowDrummer
That's a silly note to add. 75-85 is ~80 characters for that very reason (standard terminal width). If you only go a couple characters over there is no reason to split your code into two lines.
Note by: thomas@apestaart.org
If you're limiting 75-85 chars, why not just limit to 80 chars ? There's no point pissing off the people that still respect the most common terminal width.