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