by hota_mazi · 9y ago · 0 comments
No, you don't.
Regardless of your skills and seniority (I'm guessing pretty junior with this kind of hubris), there will come a time where you will make mistakes that can be caught by a good compiler. You want this compiler at your side, and the more statically typed your language is, the more robust your code will be.
> Once you're writing programs that are smaller and faster than me, then we'll probably talk
What a strange metric. Assembly language would probably meet these requirements but surely, you would not consider it.
If you check their profile their site suggests that have ~15 years of experience.
I've been programming professionally for almost thirty years at this point.
That's admittedly long enough to get some peculiar ideas about programming, but there's a certain kind of person that thinks "statically typing" is a panacea for programming mistakes -- or even that there's a single solution for anything at all...
Static typing is not perfect but it's better in all respects than dynamic typing.
... unless of course that solution is static typing.
> Static typing is not perfect but it's better in all respects than dynamic typing.
Except performance, of course: A dynamically-typed language is at the top of the STAC-M3 benchmarks for time series data processing.
Oh and defect count: Qmail has the lowest defect count of any source-available software in the last twenty years and it's written in C.
So I guess static typing is better unless you want correct code that runs quickly, which unfortunately is important to me.