Key Skills in Software Engineering
source link: https://zhuanlan.zhihu.com/p/137313916
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Key Skills in Software Engineering
1 Abstraction
2 Indirection
3 Divide and Conquer
4 One step further
5 Wishful thinking. Imagine we already have the function to achieve certain functionality.
6 Leveraging tool/search
7 Keep notes
8 Dependency Injection. (Talk to the interface instead of the implementation)
9 When design, separate interface, and implementation.
10 Separate the stable part from everchanging parts.
11 Logging, error reporting are important for running software.
12 Test driven
13 profile the program to get data to do further improvement
14 divide and conquer
15 cross-learning. Learn by doing.
16 Single function single responsibility
17 Just do something. Just picture how to do something and do something.
18 Writing something that other people will read forces you to think well.
Some programming tips:
1 don’t use strings in the code. Try to create a variable for the string and use the variable.
2 Most of the functions should be less than 20 lines. A few, only a few, can reach to 50 lines. A file should contains less than 100 lines. Any file large than 100 lines should be divided into multiple files.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK