by mountainriver · 4y ago · 0 comments
Now TypeScript and Rust are showing typed languages can be just as productive, if not more productive than Ruby/Python/JS.
Change happens slowly in our industry, but Ruby very much feels in decline. More telling IMO is that every major new language to emerge this millennium has been typed.
When given the choice of the exact same language with and without types, it seems pretty clear that typed languages win.
But I do agree that with Rails you can have quickly a more functional app, but that will be sooner or later not true anymore.
I admit C# suffers from the OO fetish roots, but it has pretty nice language features now so I almost never need to use inheritance.
Actually the theory of static typing appeared _after_ the theory of dynamic typing.
So the history seems to be:
1. dynamic types
2. static types
Thus you can say some people didn' get the memo that we tried static typing and it not a panacea. It fits very well some cases and it does not fit some other cases.
Dynamic typing is here to stay, so is static typing.
And when referring to Ruby here is how to think about it:
Ruby is strongly typed, but it does not use static type checking thus it is defined as dynamically typed.