3. Coding Conventions企?
Coding conventions are a set of guidelines
for a specific programming language that recommend
programming style, practices and methods for each
aspect of a piece program written in this language.
貊 貉覯れ 襦蠏碁 貊襯 燕 襦
蟠ロ 螳企 殊語企.
襯 る int a = 3 蟆曙一 a 3 覿企 襷
螳 蟆 伎.
豢豌 : Wekipedia Coding conventions
4. Coding conventions 蟇瑚?
PEP-8(Python)
Yes:
x = 1
y = 2
long_variable = 3
No:
x = 1
y = 2
long_variable = 3
5. Coding conventions 蟇瑚?
No:
x = 1
y = 2
long_variable = 3
螳 螻給葦 伎伎 = 襷豢る 覲願鍵 ク.
讌襷 襷 long_variable 覲企 蠍 覲螳 豢螳る,
螻給葦 讌蠍 覿 覲蟆曙 .
More than one space around an assignment (or other)
operator to align it with another.