I think the "only learn from others" here is overselling it a bit.
On one hand you'll miss something is you only learn when others learn from your code. You'll miss the ability to learn from how others code. I suggest reading about developing software. Note that this doesn't mean "read about X language" - I mean read articles and blogs about what makes code good.
To take it further, though, you'll miss an opportunity to learn *more* from others, as well as learn on your own if you don't take it further and be introspective about your performance and your code.
The idea is to try an idea or technique out - even take it too far - and simply see what the results are yourself. Read your code after writing it. Read it straight away, and read it much later after you've been doing something else. Spend time thinking about coding, how you've approached things and what the result has been.
Put these three things together (learning from others looking at your code from parent post + looking at others ideas + developing your own) and you'll become a better programmer.