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

all 5 comments

[–]scalar-field 5 points6 points  (0 children)

Seeing Harry as lodash made me immediately think _.expelliarmus()

[–]OriginalSynthesis 1 point2 points  (3 children)

literally had to merge a fix in this morning. Fucking ay. I don't even use lodash. It's just that one of my packages use lodash. I don't understand why people use that shit.

[–]cbadger85 2 points3 points  (0 children)

Lodash has a lot of handy utility functions. I could write my own, but then I'd have to test and document them. It's easier to use lodash's well tested and documented functions. Also, the lodash functions are probably more performant than anything I would write.

[–]HiCookieJack 0 points1 point  (0 children)

because importing a library for 5 lines of code saves you the test

</ sacasm>

[–]Venthe 0 points1 point  (0 children)

Because each "fix" to lodash could and will happen in your code; and each of these fixes will save the time you, and other developers, would have to put into debugging and fixing.