Call Us🔝>༒+91-9711147426⇛Call In girls karol bagh (Delhi)
Coding standard let’s do it
1. Coding standard - Let’s do it
Code for machine executable but for human readable
@tmquang6805
2. Who Am I
● Trần Minh Quang (tmquang6805)
● Web Developer - Blogger
● Got ZCPE (Since 2014)
● Author
o Phalex (http://tmquang6805.github.io/phalex)
2
3. Why does my code
SUCK?
Is it READABLE ?
Is it TESTABLE ?
Is it MAINTAINABLE ?
Is it REUSABLE ?
3
13. Simple example
I work most of days in week, except Sunday!!!
http://www.tutorialspoint.com/cprogramming/images/if_else_statement.jpg http://www.pilotlogic.com/sitejoom/images/allcommon/pascalbasics/decision_making.jpg
13
14. Key Benefits
● Helps avoid code duplication
● Easier to read (single true path)
● Reduces cyclomatic complexity
● Keep class small (see later)
14