Re:Introducing PyScript (summary of PyCon keynote)
by davnicwil on Thursday June 23, 2022 @04:51PM
(#31854992)
Would this be in a different way to the equivalent JavaScript code? Or do you just mean like physically, the layout of the code with the additional TypeScript syntax makes it appear more nested/indented and more difficult to parse?
[ Parent
| on HN ]
Re:Introducing PyScript (summary of PyCon keynote)
by banannaise on Thursday June 23, 2022 @11:26PM
(#31857458)
TS doesn't really do any worse than JS in this respect; the key here is the difference between either of them and Python.
Re:Introducing PyScript (summary of PyCon keynote)
by davnicwil on Friday June 24, 2022 @03:33AM
(#31858745)
Ah, this is a facepalm moment in that I had completely misread the initial comment not as being a comparison of JS/TS to python, but of JS to TS then a further comparison to python. Now it makes much more sense!