3 ms·
When you're operating in a non typed language, you don't have a choice. That's the best option. Of course you could literally spell out the type. But verbosity
by adam_arthur 5y ago
When you're operating in a non typed language, you don't have a choice. That's the best option.
Of course you could literally spell out the type. But verbosity not worth it. Also no guarantee the name was written correctly.
But I've found most JS codebases don't have rigorous standards around naming to begin with, so even doing that is a big win