Hacker News new | ask | show | jobs
by Someone1234 1031 days ago
I'm not sure I follow. Both proposals are suggesting that browser's engines ignore the syntax completely to allow some other, external, process to check them.

They use slightly different wording but are describing the same basic idea: This syntax will be ignored entirely and then optional/other process can use this area for whatever.

1 comments

There are other languages that have optional static typing that don't treat types as comments. JavaScript could evolve to add support for this.