Hacker Newsnew | past | comments | ask | show | jobs | submit | yungsters's commentslogin

At Facebook, we use Flow for type safety. We didn't want to have to introduce support for the existential operator until all of the details were more finalized.

Until then, we needed to have something that required minimal work (e.g. changes to the parser) that could tie us over until the language had proper support.

Also, we've been using this before the existential operator was formally proposed. (I should've probably got off my lazy butt to publish this sooner, but oh well.)

The plan is indeed to codemod this to the existential operator when it becomes available.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: