微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

简单并不简单

实际上,应该是“简单并不容易”,也就是 Simple is not Easy.在我们的日常口语中,简单和容易之间的区别真是微妙。实际我们都知道,simple is quite often Difficult.

好吧,我现在已经能准确的理解simple不是easy这个语义上的分别了,所以就开始对 What is the simplest thing? 有点兴趣了,因为大家越来越多的说YAGNI和 TSTCPW。不过,Udi Dahan告诉大家 It's does not matter,因为

The reason it doesn't matter is that we don't have to be 100% right the first time is because we're going to be changing it over,and over,and over again.


只要我们沿着TDD经典的Red/Green/Refactoring小步快跑,

The nice thing about the one true path is that you don't have to be right on it.


所以,变化是需要拥抱的

Change is expected. Change is good. Change is what makes "the simplest thing that Could possibly work",in all it's clear-as-mud-ness,really work,without forcing developers to agree ahead of time what it actually means.

原文地址:https://www.jb51.cc/javaschema/288395.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐