I'm a friendly, non-dev, cisgender guy from NC who enjoys playing music/making noise, hiking, eating veggies, and hanging out with my best friend/wife + our 3 kitties + 1 greyhound.
I'm not sure his argument of "varriors" being lazy is the hill he wants to die on when his entire argument is that he's too lazy to just go see what the type a method returns is, or to just look to the right side of an ='s sign...
Top comments (5)
Haha, lovin' how ya describe the folks who use var everywhere as "varriors" β that's gonna stick with me.
I'm not sure his argument of "varriors" being lazy is the hill he wants to die on when his entire argument is that he's too lazy to just go see what the type a method returns is, or to just look to the right side of an ='s sign...
The argument wasn't "varriors are lazy." Those are two different segments I mentioned.
The argument was it would take a few more "CPU cycles" to write the explicit type, but less "CPU cycles" to read for everyone afterward.
On top of that, if your editor doesn't have type hints then you need a new editor
Not everyone who is looking at code is using an editor.
PR reviews, etc. could and sometimes frequently are happening in the browser without hinting or hovering.