TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Dynamic Languages Strike Back (2008)

47 pointsby curling_gradalmost 2 years ago

8 comments

llogiqalmost 2 years ago
Yeah, that one hasn&#x27;t aged too well. We&#x27;ve all seen the backswing to statically typed languages. Yes, some of them (e.g. typescript) run on top of dynamic langs, or allow for VMs (hi, WASM!). Why? Because ironically the same famed flexibility that makes it oh so easy to whip up a prototype is biting us in the ass when it comes to make a production-grade piece of software while staying on top of the ever changing requirements. So while we have a lot of python in ML (where most things haven&#x27;t left prototyping stage), a lot of code nowadays is written in languages like Rust, TypeScript, Swift and others.<p>Not (only) because that&#x27;s faster to run, but because it&#x27;s faster to change while still remaining somewhat working correctly. And the current crop of compilers not only can produce stunningly fast code, but also awe-inspiringly great error messages that put the 90&#x27;s and oughties&#x27; cryptic error messages to shame. Try that with a dynamic language!
评论 #36589606 未加载
评论 #36591858 未加载
评论 #36589774 未加载
评论 #36590034 未加载
评论 #36590864 未加载
评论 #36592557 未加载
评论 #36594488 未加载
评论 #36598575 未加载
评论 #36591271 未加载
评论 #36593440 未加载
kentonvalmost 2 years ago
I remember this post from the time and I&#x27;m glad we&#x27;ve come so far since then.<p>It turns out the reason static typing seemed like a pain at the time is because we didn&#x27;t have good tools. You&#x27;d write code for a while, then you&#x27;d run the compiler, and UGH there&#x27;s all these errors to go back through and fix.<p>Now that my IDE highlights the errors as I go, not to mention has good auto-complete and jump-to-definition, I am much more productive in a statically-typed language than a dynamic one.<p>Interestingly there are still areas where most people seem to prefer dynamic typing: service APIs. JSON everywhere. Is it because JSON is actually better, or is it because we don&#x27;t yet have good enough tools for schema-driven APIs (e.g. Protobuf, Cap&#x27;n Proto, etc.)? If we had those tools, would schema-driven APIs be widely seen as being more productive? (I suspect so but I am perhaps biased.)
评论 #36590443 未加载
评论 #36591415 未加载
评论 #36589941 未加载
评论 #36591860 未加载
评论 #36590799 未加载
raphlinusalmost 2 years ago
I think the suitable followup to this is the Richard Feldman talk, &quot;Why Static Typing Came Back.&quot;[1] It gives the major reasons why one would prefer one over the other, and makes the case that static types can provide most of the actual benefits of dynamic languages, but the reverse is not true.<p>[1]: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Tml94je2edk">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Tml94je2edk</a>
bluefishinitalmost 2 years ago
The 2023 version should have &quot;Tools: Dependency Management&quot; and &quot;Tools: Distribution&quot;, two areas where dynamic languages have fallen far behind more modern statically typed, compiled languages like Rust and Go.
评论 #36589572 未加载
评论 #36591999 未加载
dehrmannalmost 2 years ago
There&#x27;s a joke that dynamically typed languages are just statically typed languages with one type: hashtable.
评论 #36593056 未加载
评论 #36598653 未加载
chuckealmost 2 years ago
Let&#x27;s meet again in 20 years, when developers discover dynamic languages again.
agnosticmantisalmost 2 years ago
Recording of the lecture:<p><a href="https:&#x2F;&#x2F;youtu.be&#x2F;tz-Bb-D6teE" rel="nofollow noreferrer">https:&#x2F;&#x2F;youtu.be&#x2F;tz-Bb-D6teE</a>
snailtrailalmost 2 years ago
Can’t believe I had to live through this BS. Thank god folks embraced low entropy code