3 ms·
> I constantly forget where I need to put `.value` after a variable name to extract its... value. You are supposed to used fancy ide that everyone uses and typ
by Muromec 2y ago
> I constantly forget where I need to put `.value` after a variable name to extract its... value.
You are supposed to used fancy ide that everyone uses and typescript do yell at you if use guess wrong.
- rty32 2y agoBeing conscious of variable types and function signatures helps you avoid trivial errors and become a more efficient developer. That's just a fact. You can argue with it or ignore it however you want, but that's simply true. I also know as a matter of fact that I am more productive than many of my colleagues when working with non statically compiled languages, and that my code is more robust, partly due to the typing I use everywhere. I have colleagues that write JavaScript functions that takes a parameter that could be 4 different types of objects, completely undocumented, and they don't know what's happening one week after shipping the code. I can't stop them doing stupid things like that. They like wasting their life debugging things and refreshing the browser, what can I do.