Your wish is my command

It’s a long journey

Object Pascal Style Guide Kr 20100112.pdf

Object+Pascal+Style+Guide_kr_20100112.pdf.

  • 그리고 begin 문은  항상 새로운 줄에서 시작합니다.
1
2
3
4
5
6
7
8
if IsTrueValue then
begin
  DoSomething;
end
else
begin
  DoSomethingElse;
end;

이런 경우 end, else 줄이 너무 낭비 같은 느낌이 드는데.. 쩝.. 8.2.3 if 문에선 길게 사용하라는군.. 아님 else를 붙이던지..

  • 메소드는 알파벳 순서에 따라 정렬합니다.
  • If 문은 적어도 두 줄에 표현됩니다.