Показать сообщение отдельно
Старый 11.04.2003, 23:12
realMakc вне форума Посмотреть профиль Отправить личное сообщение для realMakc Найти все сообщения от realMakc
  № 46  
realMakc
 
Аватар для realMakc

Регистрация: Oct 2002
Сообщений: 284
Отправить сообщение для realMakc с помощью ICQ
Код:
if( // here I will tell you why we care if $a and $b equal
$a // here I will tell you what is a, exactly
== // and here is the place to explain why I use "==" and not "==="
$b // you might as well be surprised when you gonna hear what is $b
)
{ // here I will tell you what I am going to do next
// here I will skip line to keep code readable
       // here I will explain you why I use echo and not printf
       echo "My way is the best"; // Let's note that I don't use braces () with echo

       // Wow, fabulous place to store some stupid TO-DO comment about this block
       // And I guess it will take more than just one line
       //
       ...
       //

       // Did you noted skipped lines? Okay.
       // You also MUST know that {} in "if" statement do not affect variable scope,
       // and so all variables defined here will remain...
       // Oops... i forgot to say that this is exactly why I do not use global's declaration above...
} // Oh, well, another block of code done.

// It was a nice, well formatted code. Let's skip another line.
Are you fu(king NUTZ ??? Шо, поумнее вопроса придумать не могли??? делом займитесь, ко$лы !