Hacker News new | ask | show | jobs
by DCoder 2391 days ago
TypeScript spoiled me. I want PHP to have generics and all the type-system goodness that TS brings.
1 comments

That would be great. I would also love it if TS supported runtime checks like PHP.
My thesis was working on top of ConcreteTypeScript, which supports runtime checks https://github.com/ludamad/LocusTypeScript. My contribution was adding the ability to define types inline with code, and check those using tagging. That being said, it's all very experimental.