惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Engineering at Meta
Engineering at Meta
博客园_首页
H
Help Net Security
WordPress大学
WordPress大学
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
博客园 - 三生石上(FineUI控件)
B
Blog
I
InfoQ
SecWiki News
SecWiki News
T
Tailwind CSS Blog
Spread Privacy
Spread Privacy
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Vulnerabilities – Threatpost
N
Netflix TechBlog - Medium
P
Palo Alto Networks Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Vercel News
Vercel News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
K
Kaspersky official blog
M
MIT News - Artificial intelligence
S
Schneier on Security
T
Threat Research - Cisco Blogs
F
Fortinet All Blogs
Cyberwarzone
Cyberwarzone
Scott Helme
Scott Helme
aimingoo的专栏
aimingoo的专栏
Martin Fowler
Martin Fowler
MyScale Blog
MyScale Blog
The Cloudflare Blog
Recent Announcements
Recent Announcements
Security Latest
Security Latest
G
GRAHAM CLULEY
IT之家
IT之家
Y
Y Combinator Blog
The Last Watchdog
The Last Watchdog
腾讯CDC
Google DeepMind News
Google DeepMind News
V
V2EX
S
Securelist
TaoSecurity Blog
TaoSecurity Blog
B
Blog RSS Feed
S
SegmentFault 最新的问题
博客园 - 叶小钗
P
Proofpoint News Feed
云风的 BLOG
云风的 BLOG
Project Zero
Project Zero
G
Google Developers Blog
Google DeepMind News
Google DeepMind News
F
Full Disclosure

博客园 - 勇敢的鸵鸟

Using Git with SVN 把能力转化为知识 Why people can not learn from success? 使用Adobe Audition 3.0删除静音区和自动分句 电影“空中监狱(Con Air)”中的一次访谈 说说为什么折腾 有感于——架构师的责任是形成设计共识 Setup Windows SSH tunnel with putty 什么叫明确的思考 代码库管理案例分析 My Next Speech MacBook 721使用4天感受 links for 2011-03-10 List folder size on linux 从今天的培训谈awareness links for 2011-02-21 Testing Quick Post Testing syntax hightlighter with WLW links for 2011-02-18
解读
勇敢的鸵鸟 · 2011-05-14 · via 博客园 - 勇敢的鸵鸟

最近公司内讨论OO的问题,偶的Sponsor回了一个邮件,接下来就歪楼了:

这个调调,我写程序写到三五年的时候也很喜欢讲。

现在我觉得没那么复杂。大类,长方法,重复代码,哑对象,散弹修改,就这么几个常见的坏味道。花点时间把《重构》第三章背下来,见到坏味道就重构,程序就坏不到哪里去。非要去谈论这么高深的对象理论,其实出问题的都不是因为对象理论没掌握,就是因为常见的坏味道没消除,这就没意思了。

我们在Sponsor Meeting上专门讨论这件事。仔细读来这个回复不可谓不煞费苦心,但是为啥我乍一读就觉得在说:别扯了!

我认为第一句话是导致误解的关键。这句话其实有更好的写法,可以让别人更容易感觉到其中的诚意和苦心。

两件事:听的人别指望别人说你爱听的,为了自己的成长;说的人,别指望别人总能往你期望的方向理解。