4 ms·
I've found that the best thing you can do with a bad programmer is to let them write the code in whatever potentially inferrior way they think it should be writ
by extension 16y ago
I've found that the best thing you can do with a bad programmer is to let them write the code in whatever potentially inferrior way they think it should be written, in contrast to trying to force them to write it in some better way that they don't understand. It's always better for them to understand what they are coding and why they are coding it that way.
Java forces bad programmers to use patterns that they don't understand. Inevitably, this results in those patterns being applied incorrectly, which is worse than not applying the pattern at all. It's worse still if the programmer thinks they understand the pattern, but doesn't. No type system can guarantee that an API is used correctly on more than a superficial level, nor can it guarantee good architecture or correct behavior.
The best language for a bad programmer to use is a flexible and expressive one. The more easily they can express themselves, the better chance you have of understanding their misconceptions. Forcing their broken ideas into a restrictive language will just mangle them further, producing dailywtf material.
Monkeys are dumb, but a monkey doing calculus is even dumber.