News for hackers. Stuff that matters.
Re:The Website That Got Me Expelled by TeMPOraL on Saturday September 05, 2015 @12:37PM (#10175268)
I'm not arguing about decoupling, exposure of APIs, etc. But decoupling doesn't mean you have to push all work onto the client. Have a backend server and a frontend server, the latter consuming APIs of the former and rendering content. You have to write that rendering code anyway, and opting to put it all in the browser is saving yourself a small electricity bill by passing it onto consumers, multiplying it millionfold on the way.

(Once again, I'm writing about web pages, not web applications (and no, a blog is not a web application).)

Modularization, decoupling, "rule of single-responsibility", etc. are meant to produce simpler, more maintainable code and better, slicker software. But instead, they're taken out of context and abused. Modern web codebases are getting more and more complicated, not less. What people are doing today is not good engineering. It's the architecture astronautics' equivalent of Kerbal Space Program.

There are no comments on this comment yet.