News for hackers. Stuff that matters.
Re:That people produce HTML with string templates is telling... by JohnFen on Friday May 26, 2023 @11:11AM (#36085217)
> I just do not agree with the idea that if all are doing it, there must be some deep truth beneath.

I think it does say that there's a deep truth underneath. That deep truth is that the "correct" way is not good enough.

The way that it's not good enough may very well be that it doesn't mesh well with how people work or think. That aspect is as important as any other aspect of design.

Re:That people produce HTML with string templates is telling... by ngneer on Friday May 26, 2023 @11:34AM (#36085525)
Interesting viewpoint. I can see why it indicates the "correct" way is not easy or foolproof enough, but this is all it says. Ease of use is certainly an important aspect of design. I just think "not good enough" and "wrong" are two different things.
Re:That people produce HTML with string templates is telling... by JohnFen on Friday May 26, 2023 @01:48PM (#36087448)
Well, I think that if something is "not good enough" to the point where people actively avoid using it, that elevates it to "incorrect".
Re:That people produce HTML with string templates is telling... by ngneer on Friday May 26, 2023 @04:53PM (#36089384)
Like seatbelts once were?