Sign in Join
Wiki copytemporary

DesignGuidelines/ko: what changed

Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.

OldNewLine
11## 라자루스를 위한 코딩 가이드라인
22
33코딩 스타일
44
55- 코딩스타일의 통일은 코드의 가독성을 향상시킵니다. 라자루스는 [볼랜드 코딩 스타일 가이드라인](http://dn.codegear.com/article/10280)을 준수하고 있습니다. 물론 몇몇 부분에서는 그렇지 않은 곳이 있을 수도 있겠지만, 뭐 괜찮습니다. 적어도 90% 이상이 이 규칙을 따른다면 상관 없다고 봅니다.
66- 원형참조, 또는 순환참조를 피하십시오. 이렇게 함으로써 이후 유니트의 크기가 커졌을 때 그 기능을 쉽게 분리할 수 있습니다. (역자주: 유니트 A가 B를 참조하고 다시 B가 A를 참조하는 상태를 피하라는 의미로 보입니다.)
77- Minimize the number of calls from Interfaces to LCL, when performing an action requested by the LCL. The interfaces only notify the LCL, never forces something. The LCL decides.
88- 이름 붙이기 규칙은 [[Nomenclature/ko|이 곳을]] 봐 주세요.
99- All code must work with all checks (range, io, overflow, stack) on. Besides that this helps debugging, some users put these checks into their fpc.cfg, so they are applied to whole lazarus. Including packages and examples.
1010
1111New files
1212
1313- 모든 파일의 첫 부분에는 라이센스를 기록하고, 적당한 설명을 붙여주세요.
14-- 파스칼 소스는 <b>소문자</b>로 기록되어야 합니다. (.pas, .pp, .inc, .lfm, .lrs)
14+- 파스칼 소스는 소문자로 기록되어야 합니다. (.pas, .pp, .inc, .lfm, .lrs)
1515
1616Include files
1717
1818- {%MainUnit } 지시자로 시작되어야 합니다.
1919
2020Packages
2121
2222- should have an .lpl entry in packager/globallinks/
2323
2424Dialogs (modal forms)
2525
2626- Close on Escape (if key not used otherwise)
2727- Define default button and Return activates it (if key not used)
2828- Medium to complex dialogs should be resizable and size is stored
2929
3030Main Menu Items
3131
3232- Should have a key in keymapping.pp
3333
3434------------------------------------------------------------------------
3535
3636*Authoritive version can be found in [svn](http://svn.freepascal.org/svn/lazarus/trunk/docs/DesignGuidelines.txt). Proposals for improvement can be added to talk page (discussion)*.
3737
3838---
3939*From the Free Pascal wiki, page "DesignGuidelines/ko", as it stood on 2008-11-25 after a change by Oranke, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).*

Back to history