3 ms·
I've long long wanted a code-mod that can go add explicit typing to a file, and another that can turn it off. Yeah you can go poke around at your IDE and hover
by jauntywundrkind 2y ago
I've long long wanted a code-mod that can go add explicit typing to a file, and another that can turn it off.
Yeah you can go poke around at your IDE and hover over things to see implicit types, but being able just read on the screen what everything is can be super helpful to newcomers or someone returning after a long weekend. It's also wonderful seeing the ripple of changes across the codebase as functions start returning different things, seeing explicit types update.
Ideally we could write & get the succinct form, but be saving in code in explicit form. IMHO.