O
O
OctorberMyMonth2019-09-10 22:48:27
IT education
OctorberMyMonth, 2019-09-10 22:48:27

Should I dwell on the incomprehensible or can I go further?

Good day to all!
Please treat with understanding, you, too, did not immediately know everything)
At the moment I am studying programming in Python (M. Dawson). I've been doing it for 2 months and everything was clear until I started writing the game "Tic-Tac-Toe"... code of 200 lines, I just start to lose the logic of the game after line 100, and I don't understand everything completely.
Tell me, is it worth stopping at the game and hammering it until you fully understand and all the logic will fit in your head, or can you move on after writing the game? I wonder how you cope with a large amount of data? I guess now I understand why they love Java so much in large projects, I probably should have started with Java, since I can’t immediately understand the code in just 200 lines ... they say Java teaches you how to create architecture correctly

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Moskus, 2019-09-10
@OctorberMyMonth

When the picture looks like this:
- I repeated the exercises from the book, everything was simple,
- I started doing something myself - nothing is clear
... this means that you do not understand anything at all. To rewrite code from a book, understanding is not required. And from rewriting it is not formed.
To really learn a language, you need to write something yourself from the very beginning, as soon as you are able to write five meaningful lines of code.
To learn programming, you need not only to remember the syntax of the language, but also to learn how to create and combine algorithms and logic. This is done by, again, self-writing simple programs and then complicating and improving them.
Do not do stupid things and do not jump from language to language - this will not help. Your problem is not the language, but your own thinking, which has not adapted to the tasks of programming. And it takes more time than memorizing the syntax of the language.

E
Elvis, 2019-09-10
@Dr_Elvis

Well, I don't know... I studied different languages ​​and java went the worst of all, scored. Now mostly Python and JavaScript - and I understand normally. Maybe just more experience. Probably when I started learning programming - maybe then it was more difficult. but it doesn't matter what language you started with. Try to start writing this program instead of just reading it. Maybe then it will be easier to understand. all comes with experience. however, I do not advise you to completely skip this example from the book, because it will most likely be referred to later. But it's not worth sitting for days

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question