DEV Community

Discussion on: What Data Structures and Algorithms should mean to you

Collapse
 
phantas0s profile image
Matthieu Cneude • Edited

Well, I would say: "it depends".

Depend on what? you might ask. Well, I'm a web developer for quite some time now, programming for even longer, and I rarely had to focus on algorithms to make my code more efficient.

Why? Because our hardware is so powerful nowadays, it doesn't matter if I do a bubble sort O(n^2) or a marge sort O(n).

So it depends of what you're doing. For web apps, what many people do, having this knowledge is not required to me. On the other side, if you work for the NASA or you code video games, you need to know that, and much more.

I'm trying to learn computer science at the moment, and I love it. Because I have some experience in development beforehand. It brings me some interesting foundations.

I wouldn't advise it to beginners though: it's difficult, if you're a Javascript developer for a small startup you won't necessarily see the application in your daily work, and you already need to manage so much only for your code to work, more or less, to maintain it, and to understand the code of others, among many other things.