So how do you filter out people that manage to have successful software careers despite not being able to code?
Both of those examples have rigorous training requirements before it's even legal to call yourself one and even then they still have some level of fraud.
Anyone can call themselves a programmer and the only real world requirement is being able to program.