S
S
Stas2018-12-29 01:43:29
PHP
Stas, 2018-12-29 01:43:29

Which approach to learning programming to choose?

At the moment I'm trying to learn programming (php). There are many materials in the form of books and various courses. What is the best way to learn a language, first read one book, then the second, third, and so on, or is it better to take one specific topic (for example, cycles) and study it in parallel from different sources?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
Marat Garifullin, 2018-12-29
@magarif

In programming, a specific language is a secondary matter. You need to change your mindset, study algorithms, try to see patterns, rules, and order in everything.
You need to know the base, it can be studied using any language as an example, but it is better to take one with a lower entry threshold, for example C, although the same PHP will do, but you will have to touch on other technologies (HTML, for example)
Almost everything is learned by experience. Reading a hundred books and not writing a single line of code will not help. You need to come up with some interesting project for yourself that you want to implement and dig information about how this or that is done.
Start simple. Output Hello world. Then solve some mathematical-programming problem for variables, for conditions, for cycles ..
But in parallel, you need to study version control systems, the runtime environment of your language, and other related topics.

B
BBmike, 2018-12-29
@BBmike

20 theory 80 practice

S
Stalker_RED, 2018-12-29
@Stalker_RED

To get started, choose a textbook or course according to your level. They are very different, both for children who have not even gone through division at school, and for people who have this far from their first language.
Then follow that course or tutorial by doing the exercises that are given there. If difficult - go back and re-read. If it's still not clear, it might be worth taking a simpler textbook.

take one specific topic (for example, cycles) and study it in parallel from different sources?
There is nothing terrible in this, but after reading the same topic in ten different books, you will soon notice that they are 80% the same. The question arises: why read as many as ten pieces? Read the one you like best and the documentation.
Well, knowledge will need to be consolidated by practice, in any case.

G
grinat, 2018-12-29
@grinat

Akhtung!!! Don't start with php!!! Start with go, it’s just as simple, but it won’t let you write frank shit, and it will give you an idea about working with typings, interfaces, instead of 100500 leveled inheritance you will do composition, teach you how to handle errors, teach you some kind of formatting, what to leave unused variables are bad, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question