I’ve read two pieces recently that I’d recommend to you. Both of them get into fairly technical matters, but they’re each written with a very clear, approachable voice; even if you don’t muck around with code very much, there’s a good chance you’ll be able to follow along. But if you’re busy, or disinclined to read, I’ll try to sum them up as best I can.
The first item is a Twitter thread by Steve Workman you might find interesting. In his thread, Steve describes his process of fixing some work he’d done. He noticed that one software library was responsible for huge file sizes in the components he was building, generating considerably more code than he felt they actually needed. And since users would have to literally pay to download that extra code, he spent hours optimizing his work. By tweaking his build setup — and by applying no small amount of forensic cleverness — Steve managed to optimize the code, saving his users from downloading megabytes of cruft.
The second item is this article by Tim Kadlec. In it, Tim conducted some in-depth research across thousands of websites, assessing the performance costs of sites powered by Angular, React, and Vue — the most popular front-end frameworks in use today. And the results aren’t pretty: even in the best cases, there’s more JavaScript delivered to the browser than is ideal; in the most extreme cases, it’s exponentially worse. But across the board, Tim’s data shows that we’re asking our users to pay entirely too much, both in time and in money, to access the sites we build with these frameworks.
继续阅读全文
为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。
Sir Patrick Stewart has died. I don’t really know what to say — words really are failing me right now. So I’ll start here: I grew up on Star Trek. When I call up fond memories from my childhood, the happiest all involved watching the origin
Lord, but I’m tired of recommendation engines. Tired in my bones. I watched a video of a musician I listened to obsessively in high school, but not much since then. He was playing an old favorite song in a massive stadium, presumably part o
While I was working on my latest redesign, I added a statement explaining how “artificial intelligence” is used on my website. And in a fit of pique, I slapped this line onto the end: I am very upset I had to write any of this, but here we
It’s been, like, hot-hot for the last week, with Boston seized by the same heat wave affecting…well, everywhere else. Personally I’ve never cared for summer, even before it entered its villain era. And after a few days stuck inside avoiding
Two weeks ago, I quietly pushed up a new look for this website. Some redesigns happen over a year or two; others happen over a few months. Neither one’s easy, mind you, but this one’s the latter. A month or so back, I told an old friend I w