This content originally appeared on Go Make Things and was authored by Go Make Things
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!
This content originally appeared on Go Make Things and was authored by Go Make Things

Go Make Things | Sciencx (2024-10-21T14:30:00+00:00) As little code as possible. Retrieved from https://www.scien.cx/2024/10/21/as-little-code-as-possible/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.