How do I become a better programmer?
Next year my teacher is teaching us how to code, I would like to be a bit better than the other people in my class. Can you guys point me in the right direction on how to get an early headstart? Thanks! #engineering #technology #programming #tech #coding
Hi Spencer, way to get ahead! There are certain fundamentals in software engineering that exist across languages and frameworks. The quickest way to get a handle on these fundamentals is by trying to write something on your own. Pick a programming language like C, Python or Ruby and find a "Hello World" tutorial. If you come across something you don't understand, google it! Use the experience to identify what you need to learn and seek out the answers. My own career in software engineering started when the individual maintaining the website at my company left. Someone needed to step in so I made it my missions to figure out how the site worked so I could improve it. Four years later I took an opportunity at a large tech company and never looked back!
Good thing is that you already have the interest.
Try some fun projects on your own. Even if its small.
If you are doing on your own, you can grasp the basics better.
If you are stuck, google and youtube are there to help.
Key is to enjoy doing it. All the best.
You can also use these learning platforms.
4- Other online learning platforms: khanacademy, coursera etc…
5- Free books online: https://github.com/vhf/free-programming-books/blob/master/free-programming-books.md
There is some great advice above, but I would also say that the great thing about learning to code is that there are a lot of free resources available. I would recommend looking at sites like Udacity and Pluralsite and see what areas of coding interest you. If you decide to go to university, you will be able to focus on many of the structured basics which will give you a great basis for a career. Finally, like any creative art, getting your hands dirty and trying to build your own programs will give you experience that you can leverage later.
Best of luck
If you're already programming, get out of your comfort zone! Try a new language. Reformat some old code you haven't touched in a while using new skills you've learned. Try tackling a project you don't know how to solve at first glance. Volunteer on an open source project. Just keep growing and don't stagnate!
Programming is an art!
In order to be better at something, you need to practice, practice and practice!
- Try to write clean code
- Use meaningful variable names
- Add comments in between your code so it will be more readable and understandable.
- Use functions wisely. Make your code modular. Don't write your logic in single go. This way you can debug your code more efficiently also, you can use these functions in another code going forward.
- Sign up on GitHub and contribute, see other people's code
- Try to think time and space complexity constraints before you write your logic
- Practice on hackerrank.com, leetcode
- Believe in yourself and your code
It depends on the programming language a little bit I believe but in general, the internet is a great source for learning programming. I learned my first programming through books but I believe the internet (and visual tutorials in general) would be more helpful with understanding certain things better.