Statically typed compiled language:
- Hell, I even can't compile this, I am switching to python!
Dynamically typed scriptable language
> NoneType has no attribute "green"
- Hell, I am switching back to compiled language!
Loosely statically typed compiled language:
- WTF why does it return garbage data? Oh maybe I forgot to dereference a pointer here and it got converted to integer, let's see, maybe if I...
Loosely dynamically typed scripting language:
> 1 + 1 == 11
> "" == 0
- Hell I this is a madhouse, I'm out of here.
@Wolf480pl *flip the table*
and then comes TypeScript which has static types but you can always use `any` type or insert `// @ts-ignore`
@selfisekai when you get to using anytype - then is it any different from dynamically typed language?
for the part of code where you use `any` - it's not. but if you use it in a single part just for some thing, it (mostly) doesn't make the rest of your code not typechecked.
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either! We adhere to an adapted version of the TootCat Code of Conduct and have documented a list of blocked instances. Ash is the admin and is supported by Fuzzface, Brian!, and Daniel Glus as moderators. Hosting costs are largely covered by our generous supporters on Patreon – thanks for all the help!