The moment that you can train an AI to be a good developer just with a java manual and some slides on design patterns, your analogy will make sense.
But for now an AI requires billion of times more data than a human brain to extrapolate anything useful. Which means that your comparison is meaningless.