Weekly Summary(20220123)
为什么前端越来越复杂
前端的问题不是难,而是它面对最终用户。只要用户的喜好和口味发生变化,前端就必须跟上。
这导致前端不得不快速变化,因为用户的口味正在越来越快地改变。
后端不需要面对最终用户,需要解决的都是一些经典的计算机科学问题,比如算法和数据结构。这些问题很少变化,可以利用以前的研究成果,所以变化速度慢得多。
重构的定义
Refactoring (noun): a change made to the internal structure of software to make it easier to understand and cheaper to modify without changing its observable behavior.
–Martin Fowler