3 ms·
You are the other person. Come back in six months needing to make a change, and it's almost like you're new to the code. Now, in general, I agree with you. I
by AnimalMuppet 3y ago
You are the other person. Come back in six months needing to make a change, and it's almost like you're new to the code.
Now, in general, I agree with you. If it's a one-off (or if it's really never going to need maintenance), and if it's small enough that you don't need types while writing it, then sure, do whatever is easiest at the time. But "never going to need maintenance" often turns out to be a lie, and when that time comes, you may be happy for some types as signposts to give a hint of what you were thinking all those months or years ago.
- BobbyJo 3y agoThis is the trojan horse dynamic types use to get into your castle :P