MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1bjjkm6/arejsdevsactuallysane/kvskfhl/
r/ProgrammerHumor • u/jarulsamy • Mar 20 '24
554 comments sorted by
View all comments
Show parent comment
8
This isn't a problem with dynamic typing being "too lose" or anything like that.
This is purely an example of JavaScript being an utterly shit language.
1 u/Embarrassed_Ad5387 Mar 21 '24 wym that example was 100% dynamic typingcasting {} to [object Object] in a constructor isn't a typing issue? 5 u/[deleted] Mar 21 '24 Weak typing, not dynamic typing.Strong and dynamic: PythonWeak and dynamic: JSStrong and static: C++, C#, JavaWeak and static: C (ish… still not as weak as JS)
1
wym that example was 100% dynamic typing
casting {} to [object Object] in a constructor isn't a typing issue?
5 u/[deleted] Mar 21 '24 Weak typing, not dynamic typing.Strong and dynamic: PythonWeak and dynamic: JSStrong and static: C++, C#, JavaWeak and static: C (ish… still not as weak as JS)
5
Weak typing, not dynamic typing.
Strong and dynamic: Python
Weak and dynamic: JS
Strong and static: C++, C#, Java
Weak and static: C (ish… still not as weak as JS)
View all comments
Show parent comment
8
u/PM_ME_C_CODE Mar 20 '24
This isn't a problem with dynamic typing being "too lose" or anything like that.
This is purely an example of JavaScript being an utterly shit language.