OverView
https://medium.com/free-code-camp/the-most-important-skill-a-programmer-can-learn-9d410c786baf
作为程序员,哪一项技能是必须要学会的呢?
文章给出了答案,就是学会说:不♂️
接下来引出了对什么以及何时说不
其中有几个点说的挺好的,我这里简要说一下,文档全文,下载链接在文末
However, getting too excited about writing code makes us blind. It causes us to ignore
some important facts that can cause bigger problems we will have to deal with in the future.
梳理下文章的结构
最重要的技能是学会说不
作为一名 programmer实际上不可避免的被要求写代码实现一些功能,但是有必要别人要求的都要写吗?
programmer对于写代码无疑是热衷的,但是写代码本身可能会引起的一些未来需要解决的问题却被我们忽视掉了。
所以,哪些重要的事实是我们容易忽略的呢?
- code that has to be read and understood by other programmers
- code that has to be tested and debugged
- code that will increase defects in your software
- code that probably will introduce new bugs in the future
(我觉得这四个点都值得深入思考,因为这就是软件的本质,当然主要针对添加新特性的场景,我个人认为,代码重构是另一回事)
你如何知道什么时候不去编码呢?
- Understanding the purpose of your software and its core definition is the first step to know when not to code.
- Never expand your software’s purpose.
- Knowing when not to code keeps your codebase small.
给个总结吧
Keep coding but know when to say no to coding.
如果你也有什么感想,可以在评论区评论,期待交流
文章pdf下载