r/learnpython • • 12d ago

Thonny no experience in coding

I've told google AI in search box about my perceived learning disability when it comes to structured guides programs, it suggested using Thonny, no course just to start with downloaded ready code and learn by braking code

0 Upvotes

10 comments sorted by

View all comments

2

u/mjmvideos 12d ago • Popcorn

I don’t know. I don’t think learning by breaking code is the right way to go about it. You need to learn how to approach a problem logically and decide what the steps are to solving it. You need to start small. Your first program just a simple print to the screen. Your learning about language constructs should be need based. That is- first you are given a problem. In the course of solving that problem you find you need some capability. You are then shown a coding construct that can help you achieve it. And so on. The big concept here is that your are learning problem solving with a computer, you are not learning syntax for its own sake. Everything you learn should be in the context of solving a problem and ideally that problem should be a problem you’ve discovered while solving a larger problem. AND! You should always know what you want to do before you sit down to make the computer do it. By that I mean. You should be able to picture in your head (or on paper) conceptually before trying to translate those ideas into code:

I want to read a line from a file and 
for each line I want to see if it contains a word 
and if it does I want to print that word

Then you can learn about how to open a file How to find words in a line How to compare values of things (And I already know how to print things. Good!) How do I go back and do all that for the next line?

And so on.

1

u/mainframeSupreme 12d ago

Thank you. This clears things up a little bit. Breaking code isn't necessary my goal here.
The idea of goal and usefulness of coding above everything else makes me want to abandon few ideas and focus one a single one.