3 ms·
Can anyone explain the upshot of dynamic typing besides terseness?
by vermilingua 5y ago
Can anyone explain the upshot of dynamic typing besides terseness?
- animal_spirits 5y agoFast iteration
- hiccuphippo 5y agoNew compiled languages like zig, jai, roc also focus in fast iteration. I remember a tweet by the Zig creators about it compiling and running a piece of code faster than python interpreted it. Edit: here it is https://nitter.net/andy_kelley/status/1483677253682675713 https://nitter.net/andy_kelley/status/1483677253682675713
- ModernMech 5y ago> rock also focus in fast iteration. Are you thinking of Roc or is this another language?
- hiccuphippo 5y agoI think you are correct. I only heard of it from a podcast and thought it was spelled rock.
- tyingq 5y agoSee any old discussion about golang and generics :)
- rileyphone 5y agohttps://hirrolot.github.io/posts/why-static-languages-suffer-from-complexity https://hirrolot.github.io/posts/why-static-languages-suffer... Dynamic typing didn't come to dominate for no reason.
- throw10920 5y agoUltimately, while all valid programs must be well-typed, it's really hard to design and implement a (static) type system (and accompanying implementation) that's as expressive and ergonomic as a dynamic type system for expressing many well-typed programs that people want to write.
- kgeist 5y agoI'm all for static/strong typing and all, but I like being able to quickly apply hotfixes (or add logging to debug an issue) in production without having to wait for a full recompilation/rollout (which is undesirable when the system is down). For me, it's the only plus.