5 ms·
You use the language native array implementation until your queue gets so huge that it's actually a problem to add or remove items. Everything else is just prem
by erikrothoff 9y ago
You use the language native array implementation until your queue gets so huge that it's actually a problem to add or remove items. Everything else is just premature optimisation. Modern web programming has the luxury of fast iteration cycles so any problem that appear at scale are easily and swiftly fixed.
I'm really curious if you could point to a real world example where a custom data structure is needed, where it's not written for performance critical reasons?
- leaveyou 9y agoOh, the "premature optimization" trump card.. OK, you won. You can go write programs without knowing CS 101 now.
- hycaria 9y agoI had CS classes but in my work I do 80% front (because I enjoy it actually) and 20% back. Not using anything fancy in my work though. So how does one avoid being classified like you do ? (well you edited, your original post had Just call it "frontend dev"., but my question still stands, how can I counter the prejudices you seem to have ?)
- leaveyou 9y agoKnow what a linked list is, its advantages and drawbacks.
- hycaria 9y agoI have, but I don't see it coming up much except during an interview maybe.
- leaveyou 9y agoWell if you know that then this sub thread is not about you. Move on. This thread was about people who insist that they are fine being ignorant about basic knowledge.
- FLUX-YOU 9y agohttps://twitter.com/Hillelogram/status/962424365819277312 https://twitter.com/Hillelogram/status/962424365819277312 Have fun
- leaveyou 9y agoCan you think of anyone who is or could be a good SWE that cannot do some basic things with a linked list given some hints and collaboration? edit: front end devs.. LOL, you hold dear that delusion :-)
- FLUX-YOU 9y agoYeah, front end devs.
- erikrothoff 9y agoYou seem to have painted yourself into the corner where you're not willing to accept the reasoning everyone else has provided in the comments. The point has always been that any developer can learn what a linked list is with hints and collaboration. The prejudice that I see in this thread is that: Only people who already know what a linked list is can call themselves a developer. A developer will learn if she needs to what a linked list is. If tasked with something requiring one a developer will simply learn the theory behind linked lists and be able to execute it. In reality however, they probably won't because most day-to-day tasks don't.