4 ms·
I agree static typing is no silver bullet.But when there is a choice between looking at python code written some time ago and wondering (and at times speculatin
by sateesh 6y ago
I agree static typing is no silver bullet.But when there is a choice between looking at python code written some time ago and wondering (and at times speculating) what type the function args are v/s inferring from function args (say in Go) is a smoother experience, especially when debugging a thorny heisenbug causing an outage.
- Guthur 6y agoDon't worry golang will have it's day of horror story code bases where developers made all sorts of wacky decisions around pointer passing and badly specified interfaces within a code bases 100kloc too large.
- redis_mlc 6y agoFYI: Perl5 has always had moderately strong static typing and runtime warnings, as well as forward references. I always wince when people try to tell me that python is "better" or "more modern." To enable in Perl: use strict; use diagnostics;