moon_aka_sun: (Default)
[personal profile] moon_aka_sun

Извраты стиля получают должное :)

1. Yoda Conditions

if (5==count)
Using if(constant == variable) instead of if(variable == constant), like if(4 == foo). Because it's like saying "if blue is the sky" or "if tall is the man"

...

3. Egyptian Brackets

if(x) {\n...\n}
if(a == b) {
   printf("hello");
}

и много других перлов собрано (и получают название) в блоге Атвуда.

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

December 2016

S M T W T F S
    123
4 5678910
11121314151617
18192021222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 9th, 2025 04:12 pm
Powered by Dreamwidth Studios