That should be the goal when writing code. As little of it as possible. I don't mean in the code-golf, how-short-can-I-make-this-line-of-code kind of way. I meant that we should prefer HTML over CSS, and CSS over JavaScript. We should prefer pre-rendered HTML over dynamic, and server-rendered HTML over client-side HTML. The planet is on fire, and our profession uses a lot of electricity. It's a moral imperative that we reduce that consumption as much as possible. We can't eliminate it entirely, but we can curb it dramatically by making better choices. And as a bonus, they're better for our users, too! Cheers, Want to share this with others or read it later? View it in a browser. |
0 Komentar untuk "[Go Make Things] As little code as possible"