Java知识分享网 - 轻松学习从此开始!    

Java知识分享网

        
AI编程,程序员挑战年入30~100万高级指南 - 职业规划
SpringBoot+SpringSecurity+Vue权限系统高级实战课程        

IDEA永久激活

Java微信小程序电商实战课程(SpringBoot+VUe)

     

AI人工智能学习大礼包

     

PyCharm永久激活

66套java实战课程无套路领取

     

Cursor+Claude AI编程 1天快速上手视频教程

     
当前位置: 主页 > Java文档 > Java基础相关 >

匠艺整洁之道:程序员的职业修养 英文版 PDF 下载


时间:2023-11-13 11:57来源:http://www.java1234.com 作者:转载  侵权举报
匠艺整洁之道:程序员的职业修养 英文版 PDF 下载 转载自: http://www.python222.com/article/579 相关截图: 主要内容: Best Work Promise 2. The code that I produce will always be my best work. I will not knowin
失效链接处理
匠艺整洁之道:程序员的职业修养 英文版 PDF 下载


 
 
相关截图:
 


主要内容:
 

Best Work
Promise 2. The code that I produce will always be my best work. I will not
knowingly allow code that is defective in either behavior or structure to
accumulate.
Kent Beck once said, “First make it work. Then make it
right.”
Getting the program to work is just the first—and easiest—
step. The second—and harder—step is to clean the code.
Unfortunately, too many programmers think they are done
once they get a program to work. Once it works, they move
on to the next program, and then the next, and the next.
In their wake, they leave behind a history of tangled,
unreadable, code that slows down the whole development
team. They do this because they think their value is in
speed. They know they are paid a lot, and so they feel that
they must deliver a lot of functionality in a short amount of
time.
But software is hard and takes a lot of time, and so they feel
like they are going too slowly. They feel like they are failing,
which creates a pressure that causes them to try to go
faster. It causes them to rush. They rush to get the program
working, and then they declare themselves to be done—
because, in their minds, it’s already taken them too long.The constant tapping of the project manager’s foot doesn’t
help, but that’s not the real driver.
I teach lots of classes. In many of them, I give the
programmers small projects to code. My goal is to give them
a coding experience in which to try out new techniques and
new disciplines. I don’t care if they actually finish the
project. Indeed, all the code is going to be thrown away.
Yet still I see people rushing. Some stay past the end of the
class just hammering away at getting something utterly
meaningless to work.
So, although the boss’s pressure doesn’t help. The real
pressure comes from inside us. We consider speed of
development to be a matter of our own self-worth.
 


 


------分隔线----------------------------


锋哥推荐