코드 주석 처리 팁

두 개의 서로 다른 코드로 테스트 할 때 유용하다.

/**/
Run here
/*/
code
/**/
/**
code
/*/
Run here
/**/

via http://eclipsians.net/more.php?id=37_0_1_10_M

//*/
Run here
/*/
code
//*/
//*
code
/*/
Run here
//*/

via http://hongyver.pe.kr/ttblog/596

« 오래된 글최근 글 »