I did it by doing though.
Not reading text books and doing the exercises, but by picking somthing to program and then figuring out how to do it, then looking at how to do it better.
Then I spent a lot of time unlearning some bad habits.

Seriously though you are better off knowing the basics well having 'used them in anger' , than being vaguely aware of some esoteric technique you might have considered using posssibly maybe sometime.