实际上,应该是“简单并不容易”,也就是
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.f2er.com/javaschema/288395.html