How do you become a good tennis player? By studying good tennis players, doing endless drills, and playing lots of tennis at a high enough level to give you a challenge. Programming is no different, though in my experience tennis drills don't really help the coding skills.
Do you have a more specific question on how to start learning a programming language? I get the vibe that while my tennis analogy is accurate, it's also not quite what you were looking for.