C
C
Crash2015-01-27 21:14:22
Algorithms
Crash, 2015-01-27 21:14:22

In what web development tasks did you need knowledge of algorithms?

No matter how I tried to get into the essence of the algorithms from the books of Cormen, Wirth and other authors, nothing happened. The maximum I can understand is the essence of recursion and sorting types. Apparently, I won’t become a professional programmer) But I can do web development quite tolerably - according to my estimates, 90% of the tasks are quite feasible for me. There are no special problems with design patterns - I can understand and reproduce.
Accordingly, the question is - in what web development tasks did you need knowledge of the algorithms from the above-mentioned books? I ask, so as not to meddle where it is not necessary)

Answer the question

In order to leave comments, you need to log in

6 answer(s)
R
Rishat Kadyrov, 2015-01-27
@Bandicoot

Of course, usually no one writes them (there are ready-made tested libraries), but it is necessary to know that these algorithms exist. And they also need to be disassembled.
Let me draw a very detached analogy. You are an ordinary security guard, and your colleague Vasya is also a security guard. You do the same thing, stand and watch. But Vasya's salary is higher. Why such injustice? After all, you do everything the same way. But in his free time, Vasya goes to the gym and to the shooting range. And in the event of an emergency, Vasya will be more prepared. For this he is appreciated.
Well, no one doubts the "shaking of the body". It is easy to formalize, feel. But "pumping the brain" just the same exists. And a careful analysis of the books of the conditional Wirth will give you just that. And while you may not be able to see the increased weight on the bar, you will understand the next book faster.

M
mamkaololosha, 2015-01-27
@mamkaololosha

The algorithms in these books are like design patterns in GOF. Best practice tips for solving common problems. In fact, you will have to come up with "your" algorithms for a specific task.
In the freelance web and in the usual php-shop web, nothing at all. You yourself have already written it.
On Habré there was an article on an interview on Twitter and a puzzle about waterfalls or buildings, something like that. That task is called something like "Task of offloading communication channels". And it is a spherical task in a vacuum, which is dealt with in all sorts of Yandex, Facebook, Amazons, and so on. Her solutions are not in the books. It is solved by the stupid mat-apparatus of your brain and brainstorm. When you have 100,500 visitors a day and a 2-3 hour downtime causes millions of dollars in losses.

N
nikelsj, 2015-01-28
@nikelsj

Even if there are no problems directly related to algorithms, this kind of knowledge is necessary to understand how the tools built into the language function + the programmer must solve any problems that arise, this is the concept of professionalism. For example, you will need to write an elementary recommender system or a non-classical sorting of some complex objects ... (as particular examples)

E
Eddy_Em, 2015-01-28
@Eddy_Em

In all. From a web face for working with accumulated meteorological data to a 3D interface on webGLU.
Even if the web face is elementary, the server part is by no means the same! Let's say, a simple "panel" for controlling a pair of SD takes several lines of html code and a jaboscript, and on the server it's about one and a half thousand sish lines!

E
Evsign, 2015-01-28
@Evsign

Try to write something without using libraries and built-in language features, ie. only by the syntactic means of the language. I think you will have to peep a lot of things in the books of the mentioned authors)

A
Alexey Solodky, 2015-01-31
@DoctorX

It was not necessary to use (write) directly.
But understanding the algorithms in the work helps.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question