Comment by SEJeff
6 years ago
Crappy code can be written in any language, see all of the CVEs in C code, even when written by experts.
As surprising as it may be, bad code is often written by bad programmers. It doesn't matter what language you use if you write bad code.
But scripting languages make it especially easy to do so. That doesn't mean people who use them are bad programmers. They just chose a bad tool.
And php makes it easier than python, but it isn't a scripting language. Your original point is still invalid.
Alternatively, some amazing tooling has been written in these "terrible" scripting languages. Instagram was sold for a billion dollars and was a glorified Python Django webapp ontop of a Postgres database.
I got in a similar debate with a coworker recently over some go code he wrote. He told me that go code didn't need full unit tests because the compiler checked for bugs. Amusingly, he swapped the order of two int arguments in a pull request literally an hour after our discussion. I pointed out how a unit test would have prevented the production regression he caused, and then he started writing tests for his changes. So yet again, scripting languages have nothing to do with "good" or "bad" code. It is all about good vs bad developers.