top | item 40420223

(no title)

anditherobot | 1 year ago

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???

discuss

order

shutupnerd0000|1 year ago

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