E.g. I am an amateur coder. Anyone who has typed 3 pages of code without looking up on a book or a website, is x100 better than me. If someone decides to make me the leader of coders, I won't tell them "I command you to use this syntax over that paremeter (?)" (coz I'm like Jon Snow.. I know nothing), but I WILL tell them to a) take daily backups/use version control, b) write comments on your code, c) do daily huddles, d) sit in pairs and review each other's code, e) some bright ideas/suggestions that THEY will make, f) I will bust my ... and try to study as many books/blogs/resources to learn the area (and managing coders better), g) I will talk to as many coders (young and old) as I can to understand them and their needs better.
Does that make me a good coder? Hell no! I didn't mention "read Java" in any of my aformentioned example. Will this make me a good manager? Well I have managed OTHER teams in & around IT.. why not coders? They are people too!