D
D
Daniel Newman2016-07-07 22:35:32
JavaScript
Daniel Newman, 2016-07-07 22:35:32

What to read about design principles and algorithms for JavaScript programs?

Here on the main habr'a they threw out a wonderful post about the path of one programmer. I really liked that it mentions "programming principles" and "algorithms", which I, as a js developer with 3 years of experience, have a very urgent need for.
The article does not mention books about this important component, and I reinvent the wheel, replacing the "racks" of if's and switch / cases with navigation through the keys of multidimensional objects that store not only variables but also procedures for working with them. What do I consider my personal invention (in terms of "I haven't read about this, but it's so beautiful")
What to read? What courses to take? Where is this semi-academic, semi-practical discipline?
Undoubtedly, it will go without being tied to the syntax of JS, but the preference is for "prototype-oriented scripting languages" and JS itself.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
X
xmoonlight, 2016-07-08
@xmoonlight

largescalejs.ru
UPD : stackoverflow.com/questions/1114024/constructors-i...
PS : najomi.org - a small selection of various useful snippets, including JS.

G
Grigory Vasilkov, 2016-07-08
@gzhegow

Look for a master.
No matter how many books you read, how much you don’t peck your forehead, the feeling that you write correctly will come only when a cool coder (subjectively cool for you) tells you that you are doing everything great and are ready.
Listen to any coach on youtube. For the most part, of course, they are talkers and loafers, but in some things they converge. For example, in Japan it was a custom to look for a Mentor at the age of 18, in Russia it was a custom to become an Apprentice, in any actively developing country there was a custom that the more experienced take on the training of the less experienced for reasons of responsibility for their country.
And only in the 21st century, the masters have read and are going to take this knowledge to the grave, or they are trying to sell it to someone in order to pollute the earth more, consuming more resources.
Just don't start now demagogy like "why doesn't everyone do this." The only adequate answer would be "maybe everyone is fucked up?"
ps. There is an explanation for this too. Money lies in the opposite direction from creation, development and harmony and responsibility.

D
DDDsa, 2016-07-08
@DDDsa

Learning JavaScript Design Patterns
JavaScript Patterns

D
Dmitry Pavlov, 2016-07-14
@dmitry_pavlov

The beauty and muck of JS is that you can work with it as you like - in different paradigms. Therefore, there are no ready-made recipes for JS. Here it is necessary to understand the architectural principles without reference to languages. And to understand when which approach justifies itself better.
Some of the thoughts in these answers might be helpful:
How to learn JS effectively?
How did you master design patterns?
What are some good books on application architecture?

E
Egor Sapozhnikov, 2016-07-14
@sapog

All the links that you were given above are good, but you should pay attention to the works of Nicolas Zakas. He is the author of one of the books recommended above, and he also has good presentations on how to do the "right" thing.

W
w1ld, 2016-07-14
@w1ld

Apparently, it is worth reading the classics (Kormen and others) and trying to solve algorithms and problems from there in Javascript. So the author of that article on Habré writes. So I think it's worth doing. And various adaptations of the classics, I think, will only muddy the waters.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question