4 ms·
I worked on this project, it was super fun. Open to answering any questions.
by nosefrog 6y ago
I worked on this project, it was super fun. Open to answering any questions.
- faitswulff 6y agoWhat was fun about it?
- nosefrog 6y agoI personally think compiler tech is really interesting, and 90% of the project was writing transformations on ASTs. There's something about working in such an exacting environment where bugs are especially bad because they often manifest in subtle and hard to catch ways that's exhilarating. :)
- city41 6y agoI’m curious why not allow implicit anys instead of creating the tool that inserted anys? Seems roughly the same outcome but implicit anys would take a lot less work?
- dgoldstein0 6y agoBecause of the way we had type checking set up - our existing code already used noImplicitAny, and we wanted to keep that, and we were typechecking it all in one shot, together, so we couldn't have different typescript flags for different files. Now as to why to use noImplicitAny in the first place: mainly because implicit anys are usually accidents - places where developers didn't realize they should put a type. And the explicit `any` in many ways is sitting there for anyone who cares to replace it with something better; whereas implicit anys are much harder to notice.
- Xt-6 6y agoAny chance some of the codemon used could be shared?