3 ms·
In 2022 there is no reason to prefer these dynamically typed languages over statically typed ones for production code. When languages like PHP, Ruby, JS blew up
by avl999 4y ago
In 2022 there is no reason to prefer these dynamically typed languages over statically typed ones for production code. When languages like PHP, Ruby, JS blew up the knock against statically typed languages was the verbosity of the resulting code, slow development cycle and general cruft, these languages solved a real problem at that time. That is no longer true today- TypeScript, Go, C# code feels as fluid as a dynamic language and even Java has come a long way with type-inference that Java no longer feels as unwieldy as it used to.
I legitimately can't imagine willingly not using a statically typed language for anything that matters that's gonna have more than just me working on it.
- throwaway_4ever 4y ago"No reason", at all? Have you seen how much standardized legwork is done with a backend framework like Rails and Django? How much easier that is to work with other developers because everyone is following known conventions? With Django, there's also the huge benefit of millions of data libraries an import away. When I search for client libraries to do something, anything under the sun has a Python client. Much much less so with Go, C#, and Java.
- koyote 4y ago> Have you seen how much standardized legwork is done with a backend framework like Rails and Django? How much easier that is to work with other developers because everyone is following known conventions? How is Django different from, say, ASP.Net Core in that respect?
- jrsj 4y agoIt's not imo but ASP.NET MVC is uniquely good among frameworks for statically typed languages. Java, Go, etc don't have anything comparable.
- seabrookmx 4y agoYou lost me at Java. Web development was popular in Java well before it took off for Python, and it's been one of the most popular programming languages period since it's inception. There's been multiple supported clients for anything I've ever wanted to connect to.
- nfhshy68 4y agoJava got type inference? I need to see this! Is it still really verbose with lots of too small classes? Edit https://www.javatpoint.com/java-8-type-inference https://www.javatpoint.com/java-8-type-inference Wow that's pretty cool. More? Less? Interesting is just how far I checked out of that language years ago.
- dbbk 4y agoPHP in 2022 is statically typed, if you want it to be. The only thing afaik it's currently missing is generics.