3 ms·
> 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 dynamical
by twelve40 3y ago
> 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?
- andix 3y agoTypes 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.
- Barrin92 3y agoPeter Norvig summed it up in one of his presentations https://norvig.com/design-patterns/design-patterns.pdf 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[...]"