android - 构建App的时候,提早优化代码结构有必要么?
怪我咯
怪我咯 2017-04-18 09:42:42
0
4
546

当我们构建一个App的时候,经常会对设计模式,架构进行选型。
也有可能因为需求的变化导致最初的选型不是一个最优解。
那么,在极端情况下,我们就会选择过早优化。

但是架构并没有完美的,所以,我们在开发的过程中,是一边开发业务需求,一边重构比较好,还是一开始想清楚,再下手比较好?

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(4)
大家讲道理

Is it true to say "premature optimization is the root of all evil" and why?
Maybe you can refer to this question

黄舟

It’s never too early to optimize your code structure

伊谢尔伦

I don’t know what your development method is like.

It is an ideal situation to think clearly about this from the beginning, and there are not many times like this.

It is best to spend part of each sprint (or development cycle) optimizing the structure. Don't wait! Once you wait a little longer, basically the architecture will have to be replaced or used as a makeshift.

Also, it is unlikely to spend a lot of events on optimizing the code architecture. After all, the business line will not give that much time.

刘奇

Work -> Right -> Fast

is not a reason to write bad code

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template