Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Once upon a time, we crammed HTML, CSS, and JavaScript into single PHP files—easy and straightforward. But then, someone said, "Separate presentation from logic!" So we did.

Then someone said, "Sending HTML is old news; let's send JSON on the back end and reassemble everything with JavaScript." So we did.

Then someone said, "Why don't we put everything in a single file and call them components?" So we did.

Then someone said, "Why don't we push those components from the server instead?" So we did

Wait a minute???



The real issue here is the "so we did" part. Something something cargo cult lemmings.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: