- From: Tobie Langel <tobie@w3.org>
- Date: Mon, 3 Jun 2013 20:30:01 +0200
- To: "Henry S. Thompson" <ht@inf.ed.ac.uk>
- Cc: Robin Berjon <robin@w3.org>, spec-prod@frink.w3.org
On Monday, June 3, 2013 at 7:44 PM, Henry S. Thompson wrote: > It does intrigue me to try to understand _why_ PHP-style coding is so > attractive that we do it even when good structure-based alternatives > are right there in the API, especially given that string bashing to > build structure is > a) fragile; > b) hard to read; > c) hard to debug; > and I presume > d) less efficient. Historically, innerHTML has been much faster than structured alternatives, this has only started changed recently. Also, having terrible APIs like the DOM does unfortunately make string concatenation a more readable choice more often than not. --tobie
Received on Monday, 3 June 2013 18:30:13 UTC