Dynamic vs static and weak vs strong typing are very different things.
Dynamic and weak: JavaScript
Dynamic and strong: python
Static and weak: C
Static and strong: rust
My personal preference: for quick, easy scripts and apps -- python. For complex or sensitive applications -- rust. I do not approve of weak typing for any application. It's too easy to fuck up and too hard to figure out where you fucked up.
View all comments
Show parent comment
5
u/thirdegree Violet security clearance Mar 21 '24
"1" + 1 in ts -> 11
"1" + 1 in py -> type error (as God intended)
Dynamic vs static and weak vs strong typing are very different things.
Dynamic and weak: JavaScript
Dynamic and strong: python
Static and weak: C
Static and strong: rust
My personal preference: for quick, easy scripts and apps -- python. For complex or sensitive applications -- rust. I do not approve of weak typing for any application. It's too easy to fuck up and too hard to figure out where you fucked up.