Possible bleeding of the algorithms without a good knowledge of syntax?

Hi all.
I'm studying js, for some time it has not returned. Recently, I saw some problem and was not able to do it.
On the one hand is not enough knowledge of syntax, on the other I just didn't understand how to do it.
Tell me is it possible bleeding of the algorithms without a good knowledge of syntax, how important algorithms are, exactly where they can be useful and where not, and where to pump?
April 19th 20 at 12:32
3 answers
April 19th 20 at 12:34
Imagine you and your team need to do some work, well assume - to build a wall. You're the boss. You have in mind should be the algorithm of solving this problem is to produce a solution, substitute the solution, bring the bricks to lay a layer of mortar to lay a layer of bricks, if the wall height is less than the predetermined time to repeat the steps above. Expanding the task into steps and linking them together you got the solution algorithm, which pass to the executor for execution.
Similarly in programming. You set the task, first you have to break into some more simple steps and link them together. Now you can this algorithm be described in Russian, English, Chinese.... And can the programming language C++ or Java Script. Here the sorting algorithms are generally language of dance show. I and quite OK :-).
https://habr.com/ru/post/117200/
Of course, when we talk about programming some things you need to know - what is the memory of the computer, as there the data can be saved and how to check them out again, and so on.
But the cycle is not the concept of programming in different languages, it's just implemented a little differently. And the comparison and selection - is also derived from ordinary life only in a special way embodied in languages.
So the language you use is only a tool to describe algorithms, and not a necessary tool.
April 19th 20 at 12:36
You need to learn to walk before starting to run.
April 19th 20 at 12:38
Tell me is it possible bleeding of the algorithms without a good knowledge of syntax, how important algorithms are, exactly where they can be useful and where not, and where to pump?

Tell me, is it possible to construct sentences without a good knowledge of that after appeals in the Russian language a comma, how important is to be able to say exactly where it can be useful and how can you learn to talk?

Interestingly there are a few things:
1. the child does not ask such questions, he just starts talking, and says again and again, until it starts to turn out well.
2. although my inner EN-lint caught a missing comma, it did not prevent me to understand You laid the text meaning. Computers in most cases can't be a compile-time error.
3. I cite here the analogy in the Russian language and do it as well using Russian language, but my knowledge in it is not perfect, it is possible that in this text and I somewhere unknowingly made a mistake, but the point remained

Well, as noted above, the algorithms is not only about programming and they are not bound to a particular YAP.

Find more questions by tags AlgorithmsIT education