Advice for every programmer

1 Think clearly, write clearly, speak clearly, is the real clear!

2 Spend more time communicating your needs clearly, so as to grasp the right direction!

3 The cost of fixing requirements bugs is dozens of times more expensive than code bugs!

4 The biggest bad habit of programmers is: eager to write code!

5 Shortcuts to Improve Development Efficiency: Get it Right Once, No Rework!

6 Three things before writing code:

     figure out what to do;

     say how to do it; figure out

     how to test!

7 Professional programmers design programs, amateur programmers debug programs;

8 Copy-paste operation methods are the easiest to import bugs and the hardest to debug!

9 Duplicate code is the root of all evil!

10 Small Functions, Small Methods, Named After Functions, You Can Eliminate Comments!

11 Do a little, test a little, test-driven development, least rework, easiest to rework;

12 The complexity of a method should be less than 10, otherwise it's hard to debug it!

13 Refactor the code at any time without leaving garbage code!

14 Eliminate the warning and error of static checking!

15 Professional programmers are to prevent BUGs, and amateur programmers are to modify BUGs;

16. Often summarize their own experiences and lessons, and write them down! Put together!

17 Any complex problem can be simplified, two simplification means:

split according to time series, split according to the whole part;

18 Daily construction, daily confirmation, early detection of errors, early rework!

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326214198&siteId=291194637