4 ms·
Immediate reaction is that this is a bad idea. Seems like it would result in a weird Frankenstein language that is neither fish nor fowl. The lack of prior art
by padjo 4y ago
Immediate reaction is that this is a bad idea. Seems like it would result in a weird Frankenstein language that is neither fish nor fowl. The lack of prior art for this type of approach is particularly concerning.
- runarberg 4y agoIsn’t Python type annotation also ignored during runtime and left for third party tools to check? I would consider that prior art.
- padjo 4y agoFrom the proposal: > The proposal here differs significantly from Python's types, as the types in this proposal are entirely ignored, not evaluated as expressions or accessible at runtime as metadata. So guess sorta prior art but quite different. Reading the TC39 minutes for this proposal makes me think it’s highly unlikely that the approach as outlined here will go anywhere.