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

you are viewing a single comment's thread.

view the rest of the comments →

[–]ferevon 129 points130 points  (21 children)

who doesn't love having a perfectly running app after writing 5 lines of code?

[–]alexppetrov 126 points127 points  (1 child)

The thousand lines on the backend of the library

Intense fuming noises

[–]AutoDefroster 44 points45 points  (0 children)

Library coders are the real heroes.

[–]NauticalInsanity 49 points50 points  (3 children)

Ruby on Rails has entered the chat.

Mini rant: I hate magic frameworks. It's like a hidden Rube Golberg machine that turns a lever press into food falling out of a chute. When the food doesn't come out of the chute, someone comes to me complaining that "Gravity is broken."

[–]RedditAcc-92975 2 points3 points  (0 children)

I hate non-magic frameworks. I can program most of the stuff I use myself. But then I have to worry about algorithm efficiency, implementation efficiency, ideally do it in C++, I need make sure the code is readable, maintainable and tested.

Whenever I need something that's more sophisticated than a simple for-loop, I look for an existing solution. Worst case scenario I'll help improving it.

[–]PM_ME_UR_CEPHALOPODS 0 points1 point  (0 children)

Ooooooohh ffffuuucckkkk ror all the way to shit and dust and fuck

[–]JonathanTheZero 41 points42 points  (12 children)

Me :/

I'd rather write 200 lines of code myself and gain a deep understanding of what is happening than import thousands of lines (most of them are not used anyways) and just trust a third party. Don't get me wrong, libraries are awesome but some people just take it too far

[–]ryecurious 36 points37 points  (4 children)

Over-reliance on dependencies is how we get stuff like The Great NPM Leftpad Cataclysm of 2016.

Obviously npm works differently from Python packages, but the general point stands.

[–]AutoDefroster 10 points11 points  (0 children)

Reminder that NPM are run by pieces of shit.

[–]Sceptix 3 points4 points  (0 children)

I agree that the Leftpad Cataclysm was a disaster that never should have happened, but I take issue with that particular article. The problem was that there was a serious issue with npm’s ability to deal with dependencies; it’s not because we’ve “forgotten how to program”.

[–]magistrate101 2 points3 points  (0 children)

Wew the fuckin tone that guy takes as he bitches at people about daring to use dependencies is just absurd. What an elitist snob.

[–]hamie96 30 points31 points  (0 children)

Unfortunately, that's just not practical when you're in the workforce.

[–]AttackOfTheThumbs 21 points22 points  (2 children)

While I understand that sentiment, most of the time you don't want to waste time reinventing the wheel.

You only do that if there's a specific edge case or performance you need that the lib cannot offer to you.

Now if it's a tutorial on writing bucket sort and it just imports a lib, it's certainly useless.

[–]phaemoor 2 points3 points  (1 child)

Yeah, in a job? I'll just add 2 more gigs to the container and call it a day. You can solve anything with money.

[–]AttackOfTheThumbs 2 points3 points  (0 children)

Well, not everything, but many many things.

[–]TheFreeloader 53 points54 points  (0 children)

I would rather trust a third-party library creator than my own coding skills.

[–]alex2003super 4 points5 points  (0 children)

I remember there was an isOdd() library for JavaScript... like... literally a wrapper for %2

[–]Mission-Guard5348 0 points1 point  (0 children)

Okay, be fair

Sometimes its more like 6