3 ms·
Snarky response, but semi-serious too: I've measured my own productivity and software performance and have determined that static typing helps everywhere. I've
by munificent 3y ago
Snarky response, but semi-serious too: I've measured my own productivity and software performance and have determined that static typing helps everywhere. I've yet to measure and find any places that dynamic typing would help.
(I say this as someone who has already spent the considerable time needed to understand static typing. For newer programmers or someone who doesn't program enough to make the investment worth it, I totally see the value proposition of dynamic types.)
- erichocean 3y ago> static typing helps everywhere I think "Structure and Interpretation of Classical Mechanics" is a good example of the kind of software a dynamically-typed Lisp is superior at, beyond the usual suspects like SQL, R, Python, etc. Here's an example of SICM in Clojure: https://github.com/mentat-collective/emmy https://github.com/mentat-collective/emmy Go here to give it a try: https://nextjournal.com/try/samritchie/sicmutils https://nextjournal.com/try/samritchie/sicmutils And here's a conference talk about it's implementation: https://www.youtube.com/watch?v=7PoajCqNKpg https://www.youtube.com/watch?v=7PoajCqNKpg --- More broadly, I think Rich Hickey (Clojure creator) makes a reasonable case that for information processing systems in particular, static typing has negative value: https://www.youtube.com/watch?v=2V1FtfBDsLU https://www.youtube.com/watch?v=2V1FtfBDsLU That's also been my experience.
- Scarbutt 3y agoIn which programming languages did you measure?