News for hackers. Stuff that matters.
Re:I didn't write any JavaScript, and other shortcuts by baz00 on Wednesday August 23, 2023 @06:04AM (#37233809)
No it's not. It sort of works until you have to deal with thinks like international dates when the thing isn't rendered or breaks (which happens a lot on android from experience). Then some end user inserts an invalid date like 2023-02-31 so you still have to do server-side validation or check it with some client JS anyway. So you might as well just chuck some shitty jQuery control over the top of it.

Basically as always with HTML it's half baked and half supported.

Re:I didn't write any JavaScript, and other shortcuts by maccard on Wednesday August 23, 2023 @07:30AM (#37234301)
> Basically as always with HTML it's half baked and half supported.

As opposed to home rolled js replacements for browser features?

Re:I didn't write any JavaScript, and other shortcuts by baz00 on Wednesday August 23, 2023 @08:08AM (#37234631)
Both are terrible. The whole web is terrible. I wish for Gopher, nicely presented PDFs, thick apps and APIs and for the whole hypertext steaming pile of mess to crawl back to where it came from.
Re:I didn't write any JavaScript, and other shortcuts by maccard on Wednesday August 23, 2023 @08:21AM (#37234749)
Good, performant, well designed apps and systems still exist. Absolute steaming piles of crap that didn't interoeprate existed "before the web" too.

> I wish for Gopher, nicely presented PDFs, thick apps and APIs

You're free to browse Gopher sites, only read latex documents, and stick to Desktop apps. PDF's are a great example of an absolute steaming pile of nonsense though. They're page layouts (that don't map to my 16:9 widescreen monitor, or to my 20:9 phone), have poor standards for layout and linking, and behind the scenes are just a mess of rules that are practically impossible to interpret, even on PDF's that aren't obfuscated. PDF's are a disaster, and I'd pick a css/js/html document over a PDF any day.

Re:I didn't write any JavaScript, and other shortcuts by baz00 on Wednesday August 23, 2023 @09:24AM (#37235500)
I couldn’t disagree more. It’s nice reading them on my iPad especially properly typeset ones.
Re:I didn't write any JavaScript, and other shortcuts by nsonha on Wednesday August 23, 2023 @12:14PM (#37238286)
Who said home rolled?
Re:I didn't write any JavaScript, and other shortcuts by wild_egg on Wednesday August 23, 2023 @07:59AM (#37234556)
> you still have to do server-side validation

Yes you do, regardless of how fancy your JS widgets are. Always do server-side validation. Always