5가지 코딩스타일과 리눅스

1day1의 이미지

http://beranger.org/index.php?article=1358

제 스타일은 Kernighan&Ritchie style 와 Java style 쪽에 가깝군요.
그런데, C like 스타일들인것 같습니다.(python 이나 ruby 쪽은 좀 달랐던 것 같은데, 아닌가?)

평양선봉의 이미지

전 주로 Java Style 이군요.. ;)

그리고,

for(i = 1; i < n; i++)

이게 익숙해졌네요..

----
웹페이지 : http://bzpalm.net/

returnet의 이미지

cppig1995의 이미지

namespace helloworld_stuff
{
        int helloworld(char *hello, char *bye, int spacemode)
        {
                if(spacemode == 0)
                {
                        한 구역(block);
                }
                for(int i = 0; i < strlen(hello); i++) 짧은 한 구문;
                for(int i = 0; i < strlen(bye); i++)
                    긴 한 구문;
        }
}

8칸/4칸탭 혼용입니다.
대략 리눅스 커널 스타일과 안시스타일을 뒤범벅... -_-

Real programmers /* don't */ comment their code.
If it was hard to write, it should be /* hard to */ read.

chadr의 이미지

전 GNU이군요..
-------------------------------------------------------------------------------
It's better to appear stupid and ask question than to be silent and remain stupid.

-------------------------------------------------------------------------------
It's better to appear stupid and ask question than to be silent and remain stupid.