| 18:29 | <shu> | what i want is to use let even for bindings i don't re-assign! |
| 19:32 | <bakkot> | yeah, I also hate that rule |
| 19:32 | <bakkot> | I think it predates my maintainership |
| 19:40 | <bakkot> | oh, no, it's because of typescript |
| 19:40 | <bakkot> | typescript, for some reason, has better type inference when using const |
| 19:41 | <bakkot> | this seems silly to me, since a whole program analysis should be perfectly capable of noticing that a let-bound variable is never reassigned and then treating it exactly like const |
| 19:41 | <bakkot> | but that's the justification |
| 19:41 | <shu> | that is strange |
| 19:41 | <shu> | the TS inference thing, i mean |