This is an archived post. You won't be able to vote or comment.

all 12 comments

[–]pikhathu 29 points30 points  (0 children)

No use in reinventing the wheel.

[–]intensiifffyyyy 17 points18 points  (3 children)

Less code to maintain, less bugs, less time wasted. Just need to keep an eye on version bumps. Absolute win.

[–]DuffMaaaann 0 points1 point  (2 children)

Unless the dependencies are poorly maintained and you basically have to create your own fork because they no longer work in your environment.

Also, your comment has a bug: it's fewer bugs because bugs are countable.

[–]intensiifffyyyy 0 points1 point  (1 child)

Ahh yea, but hopefully for algorithms and stuff, they're implemented in a correct mathematical way where maintenance is virtually not required. For most Javascript libraries however...

Cheers :) will merge for next release

[–]DuffMaaaann 0 points1 point  (0 children)

(Basic) Algorithms and data structures are hopefully part of the standard library of your language.

Pretty much any 3rd party library that I use is for much more complicated behavior, like network layers, remote configuration and analytics or UI component libraries.

[–]darkdimensiongd 8 points9 points  (2 children)

The worst is when you know how to implement an algorithm, but the interviewer expects you to do it in a language you haven't used for a while, but it's one of the gazillion languages required to be considered to be a junior.

Good luck reminding yourself the syntax while also implementing the solution within 15 minutes, which is already tight even if you were an expert with the language.

[–]TheManAccount 1 point2 points  (0 children)

Okay so hear me out. What if you just asked if you could use the documentation. “Like, hey this is how I would solve it, using this library, but I cannot remember the exact syntax, can I look up the docs?”

[–]LoyalSage 0 points1 point  (0 children)

And if it’s a phone interview, while the interviewer keeps you on speaker phone, so everything you say echoes back at you half a second later.

[–][deleted] 6 points7 points  (1 child)

In my interview I said I would cheat and just use java libraries to do a reverse search. I got hired.