Главная страница


ru.perl

 
 - RU.PERL ----------------------------------------------------------------------
 From : abrasha shapirus                     2:550/4077.940 18 May 2004  16:50:56
 To : Andrew Alakozow
 Subject : coding standart
 -------------------------------------------------------------------------------- 
 
  18 Май 04, Andrew Alakozow --> Yury Kopyl
 
  AA>>>   c.. отступ выравнивания (indent) - один пробельный символ;
  YK>> Hе мало? У нас используется 3.
  AA> Дело вкуса. Сейчас я склоняюсь к тому, что два пробела лучше. И четыре
  AA> для выравнивания "многострочной строки".
 
 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.
 
 Rationale: The whole idea behind indentation is to clearly define where
 a block of control starts and ends.  Especially when you've been looking
 at your screen for 20 straight hours, you'll find it a lot easier to see
 how the indentation works if you have large indentations.
 
 :)
 
                                                                        шапирус.
 ... Я не получаю почту ни у Янкевича, ни у Яргина.
 ---
  * Origin:  (2:550/4077.940)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Re: coding standart   Andrew Alakozow   18 May 2004 12:21:43 
 coding standart   abrasha shapirus   18 May 2004 16:50:56 
 Re: coding standart   Kirill Frolov   19 May 2004 20:41:18 
 coding standart   abrasha shapirus   20 May 2004 08:59:08 
 Re: coding standart   Kirill Frolov   24 May 2004 22:03:09 
 Re: coding standart   Valentin Nechayev   23 May 2004 13:20:55 
Архивное /ru.perl/466840aa14fa.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional