Re:Tests aren’t enough: Case study after adding type hints t...
by BeFlatXIII on Monday October 18, 2021 @05:16PM
(#28911880)
> languages like C/C++ where types become a chore
It's been a long while since I used those languages, but I remember the chore part wasn't so much of typing Int or String and more so having to care if it's an Int, Short, or Long or if the float is single or double precision. I believe that those micro-optimizations are no longer popular, but manually thinking low-level is not something I enjoy.
I feel that too much focus is on static languages like C/C++ where types become a chore and judging it on that rather than looking at the plenty of languages with type inference brought by ML-style languages.