to the OP -- you've phrased your question wrong. if you want to learn to program, please understand that the languages you use to do that are a means to and end, not the end itself. real programmers think in concepts and merely execute in the language and platform.
becoming a good developer (a rarity, imo) takes practice, commitment, and mentorship. i started programming professionally in 1989, and here are a few things i've noticed over the years:
1. the best developers tend to have technical degrees (computer science produces the best, imo, but there are a lot of good developers with engineering degrees like electrical and mechanical).
2. the best developers have the following traits: arrogance, irreverence, at least a little OCD, and pride.
3. the best developers are never finished with a piece of code. there's always an opportunity to go back and something more readable, more efficient, more reusable, more compliant.
4. the best developers work in cycles: design a little, code a little, test a little, integrate a little, repeat.
5. the best developers see their efforts as a combination of art and science. they balance form and function so that the next developer to come along and extend the code will not only have an easy time of it, but will admire the craftsmanship.
6. the best developers future-proof: their code is easy to read and understand, the functions are small and well-documented, the coding style is consistent, the naming schemes are logical, the code fits into the larger framework and abides by all project standards.
and finally:
7. the best developers are excellent at abstraction. they use that skill to create framework-type code, factor out commonalities in code, and design the system.
not everyone can be a good developer. it takes a special set of skills and years of effort. more likely, on projects you'll find sub-standard hackers (i'm using this term in a way that's fallen out of vogue) who care only about getting the desired output, and little about compliance, maintainability, or future-proofing.