News for hackers. Stuff that matters.
Re:How an Anti-TypeScript “JavaScript developer” like me bec... by scrollaway on Wednesday March 03, 2021 @05:09AM (#26326591)
Maybe for you, but that is not a popular opinion. JSX's rigor is a breath of fresh air in a world that constantly generates low quality html due to loose constraints. HAML had those same problems.

JSX is kind of xml done "right". Differences between children and attributes in xml is very hard to grasp, but JSX has a much better defined structure to it and is super well suited to generate html because of that.

Re:How an Anti-TypeScript “JavaScript developer” like me bec... by aendruk on Wednesday March 03, 2021 @10:10AM (#26329298)
This sounds like an orthogonal point. (I agree with it, so it feels odd to see it presented as a rebuttal.) Surely an indented syntax could have rigor if we wanted it to?
Re:How an Anti-TypeScript “JavaScript developer” like me bec... by scrollaway on Wednesday March 03, 2021 @10:30AM (#26329603)
Sure, if we wanted it to, but HAML wasn't that.
Re:How an Anti-TypeScript “JavaScript developer” like me bec... by aendruk on Wednesday March 03, 2021 @10:49AM (#26329938)
Yes.