Re:Node.js adds experimental support for TypeScript
by wiseowise on Thursday July 25, 2024 @02:44AM
(#41065439)
Beyond ugly. They should just make TS official and be done with it.
E: I thought it was JSDoc proposal. Ignore the comment.
Re:Node.js adds experimental support for TypeScript
by blovescoffee on Thursday July 25, 2024 @03:12AM
(#41065652)
I did only briefly look at the proposal. What did you find so ugly?
Re:Node.js adds experimental support for TypeScript
by wiseowise on Thursday July 25, 2024 @03:33AM
(#41065824)
I misread the proposal. Thought it was for JSDoc.
Re:Node.js adds experimental support for TypeScript
by meiraleal on Thursday July 25, 2024 @09:38AM
(#41068554)
Misread no, you didn't read.
Re:Node.js adds experimental support for TypeScript
by wiseowise on Thursday July 25, 2024 @10:47AM
(#41069331)
Yeah. I saw JSDoc and closed it, lol.
Re:Node.js adds experimental support for TypeScript
by Dylan16807 on Thursday July 25, 2024 @02:39PM
(#41071924)
Specifically, you saw the section titled "Limits of JSDoc Type Annotations"?
Re:Node.js adds experimental support for TypeScript
by wiseowise on Thursday July 25, 2024 @03:22PM
(#41072360)
Specifically, I saw JSDoc syntax and it triggered me so much that I closed the page and threw my phone away in disgust at absurdness of even the idea that someone thought having something like this unironically is a remotely good idea.
Re:Node.js adds experimental support for TypeScript
by FractalHQ on Thursday July 25, 2024 @04:12PM
(#41072854)
I support this behavior as the only correct reaction.
Re:Node.js adds experimental support for TypeScript
by padavanchik on Thursday July 25, 2024 @03:10AM
(#41065638)
There is no language spec for TS. No alternative implementations. All we have is checker.ts. It's ugly and slow.
Re:Node.js adds experimental support for TypeScript
by IshKebab on Thursday July 25, 2024 @03:09AM
(#41065627)
What do you mean ugly? This basically is making Typescript official.
They just can't have browsers doing the actual type checking because there isn't a specification for how to do that, and writing one would be extremely complicated, and I'm not sure what the point would be anyway.
I think this should be part of the language spec.