|
|
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) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.perl/466840aa14fa.html, оценка из 5, голосов 10
|