Strawberry Farm

Collection of web technologies.

这是一个什锦工具箱。作为各种网页效果的参考。

Motivation

However, as an application matures, development speed will inevitably slow down. On a poorly implemented product, development speed slows down quickly. But even on a beautifully implemented one, development speed still slows down over time. As the more code you add to an application, the slower development becomes, I view all code as technical debt.

As developers, it’s tempting to think we’re creating value by writing code. However, the value of software comes from the usefulness of it to users, not the quality of our code. Poorly written code that does a useful task is more valuable than beautifully implemented code that does a useless one.

-- Paul McMahon《All code is technical debt》

一个基本的事实是 代码越少,技术债越小;没有代码,就没有技术债。从这个角度看,软件开发的正确做法是下面两点。

(1)冗余的代码都要删除。

(2)只实现那些必须实现的功能,除非绝对必要,不要引入新功能。新功能必然带来新的代码,而且新功能一旦添加,就很难废除,总是会保留下来。

https://www.ruanyifeng.com/blog/2024/03/weekly-issue-292.html

W3C 规范的数量平均每年增长200个,约400万个单词。

我觉得,这使得构建一个新的浏览器已经不可能,没有人能够把这些规范都从头实现一遍。

现有的浏览器不应该再把重点放在添加新功能了,而应该专注于性能和稳定性的提高。

-- 《网络浏览器鲁莽的无限范围》

https://drewdevault.com/2020/03/18/Reckless-limitless-scope.html

https://www.ruanyifeng.com/blog/2024/03/weekly-issue-291.html