Hacker News new | past | comments | ask | show | jobs | submit login

> dynamically typed language, and that's also nice

what is nice about a dynamically typed language? like, seriously, can you list some reasons for a dynamically typed language to exist?




Types can get complicated. To an extent that code gets extremely overcomplicated by using a typed language. Typed languages encourage to use many layers of DTOs and models.

With dynamic languages you can just code, without being held back by a OOP type system, but it can get very complicated to understand what the typed of you parameters and return values actually are.

Typescript gives you the best of both worlds.


Peter Norvig summed it up in one of his presentations https://norvig.com/design-patterns/design-patterns.pdf

"Dynamic Languages have fewer language limitations Less need for bookkeeping objects and classes Less need to get around class-restricted design. Study of the Design Patterns book: 16 of 23 patterns have qualitatively simpler implementation in Lisp or Dylan than in C++ for at least some uses of each pattern[...]"




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

Search: