Ask HN: Do you use algorithms / data structures?
1–10 of 11 posts
Re: Ask HN: Do you use algorithms / data structures?
#2Wait, what?
Re: Ask HN: Do you use algorithms / data structures?
#3"But in practice, it doesn't seem like algorithms are used for day to day web development." Wait, what?
Re: Ask HN: Do you use algorithms / data structures?
#4"But in practice, it doesn't seem like algorithms are used for day to day web development." Wait, what?
...Or am I missing something?
Re: Ask HN: Do you use algorithms / data structures?
#5Implementing a Fibonacci sequence or a prime number sieve is much different than implementing e-mail scheduling component with dynamic constraints. I think the reason why Algorithms/Data Structures are important for interviews is because they show not only your level of experience with the tool-set you use, but also deeper understanding of the inner workings of said tools.
Re: Ask HN: Do you use algorithms / data structures?
#6Re: Ask HN: Do you use algorithms / data structures?
#7Re: Ask HN: Do you use algorithms / data structures?
#8Pretty much every web dev related thing you make is an algorithm at the end of the day.
Think of something as simple as a contact form. What's the algorithm to make this work?
1. Get input from user.
2. Validate input from user.
3. Setup mail headers.
4. Setup mail message.
5. Call a send message function.
Those steps can be expanded on to handle invalid input or errors in any of the steps, etc..
Your programming language will likely have #5 done for you too, but whether or not you're the one implementing the functionality has no bearing on the situation.
It's easier to teach the material when you're dealing with basic data structures like building a stack or queue in C using an array rather than some higher level web dev task.
Btw, I'm just someone who spent a few years not taking any CS courses and then took a few online courses to learn the things you're talking about + more. It was probably the best move I've ever made.
Re: Ask HN: Do you use algorithms / data structures?
#9data structures for web developers ? Plenty. Heck for any developers. Think about lists, maps, dictionaries, hash tables etc. They are data structures aren't they ?
Re: Ask HN: Do you use algorithms / data structures?
#10- The Algorithmist