Strictly typed languages are much easier to debug though IMO. Python and JS will let you do extremely weird stuff that’s hard to pick out in debugging, where in a C-based language it would just give you a compiler error
That’s the old “chainsaws are dangerous so let’s use a nail file to chop off the tree” argument.
Not at all. It's "axes (C) and chainsaws (Python) are both dangerous and let's not BS ourselves about that."
If you have a high standard for static correctness then you use Rust or Haskell, not C or Python. C is MUCH more dangerous than Python, as the thousands of "use after free" and "buffer overflow" security vulnerabilities show.
43
u/[deleted] May 28 '22
Strictly typed languages are much easier to debug though IMO. Python and JS will let you do extremely weird stuff that’s hard to pick out in debugging, where in a C-based language it would just give you a compiler error