Hacker News new | past | comments | ask | show | jobs | submit login

Typescript has optical types

What are optical types? I've never heard of this term and Google turned up nothing on it.




100% sure it's a typo of "optional types".


How boring :-) I'd love to look forward to a language with optical types. I'm sure it's at least as interesting as operand overloading in Intercal.


Optical typing must be like duck typing taken to the extreme. If it looks like a duck then it's a duck, dammit!


Type coercion taken way too far ;)


I was imagining something like Lens in Haskell :)


Optical types are when they shave the bushy hair off of the type system, and it looks an inch longer.

https://www.youtube.com/watch?v=NsbXwzqlqsU




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: