For me, StackOverflow is a great place to learn: by reading questions and answers, by asking and all above by answering.
Mostly(*) answering questions for which I don't know the answer directly. Luckily, almost every question qualifies under this rule.
(*) unless my inner rep-whore takes control.