Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There’s also a long history of smuggling code into JS comments (JSX pragmas, pure), and seemingly noop directives (“use strict”). They’re all hacky but there’s a very strong resistance in the community to mixing intent with JSDoc (good luck signaling anything to TS or eslint in a JSDoc block!). I think it’s safe to write this possibility off as “probably not inevitable”.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: