게시판 즐겨찾기
편집
드래그 앤 드롭으로
즐겨찾기 아이콘 위치 수정이 가능합니다.
소스코드에서 본 최고의 코멘트들.txt
게시물ID : humorbest_1107834짧은주소 복사하기
작성자 : nipa0711
추천 : 38
조회수 : 7118회
댓글수 : 14개
베스트 등록시간 : 2015/08/14 18:05:22
원본글 작성시간 : 2015/08/10 14:31:18

http://stackoverflow.com/questions/184618/what-is-the-best-comment-in-source-code-you-have-ever-encountered

 

 

저 사이트에 올라온 것 중, 개인적으로 웃긴 코멘트들을 적어봅니다 ㅋㅋ

 

 

 

//
// Dear maintainer:
//
// Once you are done trying to 'optimize' this routine,
// and have realized what a terrible mistake that was,
// please increment the following counter as a warning
// to the next guy:
//
// total_hours_wasted_here = 42
//

 

 

 

////////////////////

 

//When I wrote this, only God and I understood what I was doing
//Now, God only knows

 

///////////////////////

 

// drunk, fix later

 

/////////////////////////

 

Catch (Exception e) {
//who cares?
}

 

//////////////////////////

 

/**
* Always returns true.
*/
public boolean isAvailable() {
    return false;
}

 

 

////////////////////////

 

long long ago; /* in a galaxy far far away */

 

////////////////////////

 

// I am not sure if we need this, but too scared to delete.

 

///////////////////////

 

# To understand recursion, see the bottom of this file 

At the bottom of the file:

# To understand recursion, see the top of this file

 

////////////////////////////////


#define TRUE FALSE
    //Happy debugging suckers 

 

/////////////////////

 

//I am not sure why this works but it fixes the problem.

 

////////////////////////////////

 

Not quite a comment but a goto label

ICantBelieveIUsingAGoto

 

/////////////////////////////////

 

아낰ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ

 

꼬릿말 보기
전체 추천리스트 보기
새로운 댓글이 없습니다.
새로운 댓글 확인하기
◀뒤로가기
PC버전
맨위로▲
공지 운영 자료창고 청소년보호