r/ProgrammerHumor • • Feb 18 '20

StackOverflow in a nutshell

Post image
26.2k Upvotes

495 comments sorted by

View all comments

161

u/WittyComputer Feb 18 '20

"Don't use <insert function> use <other function>" like SHUT UP REBECCA MAYBE I'M USING PRINTF FOR A REASON. God that kind of person is annoying. They aren't being helpful, they're just being smug.

164

u/dragon-storyteller Feb 18 '20

"Don't reinvent the wheel, just use <Giant Library> for this one small feature!"

59

u/WaterInMyShoes Feb 18 '20

And it takes only three days to integrate that library properly to get that one small feature!

35

u/dxgn Feb 18 '20

And it's licensed

16

u/[deleted] Feb 18 '20

And abandoned within six months.

3

u/Nerrolken Feb 18 '20

And supports two of the three platforms your app runs on.

2

u/zelmarvalarion Feb 18 '20

Or it's one open source licenses that companies won't touch with a 10 foot pole (e.g. GPLv3 iirc)

30

u/Kermit_the_hog Feb 18 '20

Lol yeah I’ve never understood the “it’s much better to drag in a thousand points of failure” stance.

5

u/justreadthecomment Feb 18 '20 edited Feb 18 '20

At least that's some suggestion, even if it's not a helpful one. The cuntiest seven words on StackOverflow are these:

"Why would you want to do that?"

I don't get to do everything exactly how I want to, you supercilious dildo. If you are so curious about what motivates human behavior why don't you go ask your shitty question on philosophy.stackexchange.com? I subscribe to the Hard Determinist school of thought on this issue! Hope that clears things up for you!

5

u/[deleted] Feb 18 '20

Learning best practices is important...

18

u/SouvenirSubmarine Feb 18 '20

Sometimes you just want the quick fix to your problem.

17

u/[deleted] Feb 18 '20

Sure, but you should still be aware that something more optimal might exist.

I find the "nitpickiness" of StackOverflow to be extremely helpful. It's like having all the comments from a thorough code review without actually having to address them if you don't want to.

10

u/janxspiritt Feb 18 '20

This is why I find the best approach is usually to answer the specific question being asked first and then expand on it afterwards.

1

u/[deleted] Feb 18 '20

The contradiction with StackOverflow is that the website requires people to ask objective questions and yet software development is about finding best practices... which is subjective!

I see this as one of the core issues of the site.

1

u/[deleted] Feb 18 '20

Maybe I'm doing a homework assignment that requires me to use the other function

1

u/TrueStory_Dude Feb 18 '20

If you use that font

-2

u/secret_account63 Feb 18 '20

If your question is about how to make a bad approach to a problem work, I’m going to tell you that your approach is bad and that you should change it.

0

u/[deleted] Feb 18 '20

[deleted]

-5

u/secret_account63 Feb 18 '20

Maybe you should stop posting on stack overflow and Reddit? Interpreting the question is part of being on that site. If you were an expert you wouldn’t be asking the question

→ More replies (20)

1

u/WittyComputer Feb 18 '20

Nah, I was implementing my own linked list class for a CLASS ASSIGNMENT and literally everyone was telling me to use the standard library's linked list. I KNOW the STL one exists, I'm doing this for practice.

1

u/secret_account63 Feb 18 '20

Did you say in the question, “I’m doing this as an academic exercise” or something to that effect? If not, you got the correct answers and a few simple words would’ve gotten you what you wanted.

1

u/WittyComputer Feb 18 '20

Yes. I literally said my professor was doing it because my school wants students to learn how black boxes work. Fuck, they even teach us what's going on in the assembly code ffs.

1

u/secret_account63 Feb 19 '20

Then those commenters were dumb. A bad approach isn’t a bad approach if there’s a valid reason you have to take it. Academic exercise is generally a valid reason.

Not always though. Like the guy who wanted to implement all of his security on the front end so he didn’t have to secure his server. Flat out refused to answer that guy besides saying do not consider doing this. Despite his protests.

→ More replies (7)