Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
What is the appeal of dynamically-typed languages? (gist.github.com)
2 points by kornish on Feb 15, 2019 | hide | past | favorite | 2 comments


This isn't a great write-up for reasons explained here: https://gist.github.com/non/ec48b0a7343db8291b92#gistcomment...

It also assumes all static typing is nominal typing, when structural static types also exist and don't lead to Java-like class overload.


The author seems to conflate static typing with class-based typing for much of this. Languages like Haskell and TypeScript (and I thought Scala?) are statically typed, but have a concept of structural types that don't require you to use classes at all. In fact this static duck-typing is, I'm pretty sure, one of Haskell's most-advertised features.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: