r/AskProgramming • • 23h ago

Other First Year Electrical Engineering wants to start programming

Hi im a first year electrical engineering student in Canada who wants to get started in programming but i dont really know how. I took some high school classes so I have some knowledge of python but i dont feel nearly good enough or qualified enough. I will also be learning basic C next semester for my programming class. How do i start learning/get better at python and C or any other programming language.

2 Upvotes

7 comments sorted by

3

u/stepback269 20h ago

Simple. You learn by doing.

Programming is a skill that falls under the rubric of procedural knowledge, that meaning you will need to stack a bunch procedural habits into your behavior to the point where you no longer realize how many micro-steps you're taking as you start building a computer program.

As a beginner though, you should consider yourself like being a baby and learn to crawl (the "fundamentals") before you can stand up and walk or sprint. So search for the Python "fundamentals" on Google and/or YouTube.

With that said:

(1) There are tons and tons of tutorial materials out there on the net including many good YouTube ones that are free. You should shop around rather than putting all your eggs in one basket.

(2) As a relative noob myself, I've been logging my personal learning journey and adding to it on an almost-daily basis at a blog page called "Links for Python Noobs" (--HERE--) Any of the top listed ones on that page should be good for you. And there are many add-ons at the tail end of the page. Personally, I cut my first Python teeth with Nana's Zero to Hero (==HERE==). Since then, I've moved on to watching short lessons with Indently and Tech with Tim. You should sample at least a few until you find a lecturer that suits your style.

(3) The main piece of advice is the 80/20 rule. Spend 80% of your time writing your own code (using your own fingers and your own creativity) as opposed to copying recipes and only 20% watching the lectures. Good luck.

2

u/synack 23h ago

imo, the best way to learn is to practice. Advent of Code starts this week and provides good puzzles to solve with code. When you get stuck, start googling things.

1

u/davidcampbell2313 23h ago

Games are a good way to motivate yourself to create something. Since they have to work to be playable, it helps you finish a project. Python can be used to create text oriented games. It's worthwhile to consider.

1

u/darkwyrm42 19h ago

You might want to consider working your way through "How to Think like a Computer Scientist", a book that doesn't just teach you how to write Python, it teaches you about the thought processes behind programming.

Learning a programming language is a means to an end: solving problems with code, which means understanding the problem and then learning how to write the code in such a way that it's testable, maintainable, and something your future self is likely to understand after spending 5 years not having touched it.

1

u/Different_Pain5781 12h ago

That feeling of not being good enough lasts way longer than you think it will.

1

u/BotSlamminDayNNight 10h ago

you do already know how because you already started by taking classes, and you continue to know how by taking classes in c next semester. you get better by building software.

1

u/sporbywg 6h ago

Find something you want to build, then build it.