r/ProgrammerHumor • • Oct 20 '21

Meme Stack Overflow in a nutshell

Post image
3.9k Upvotes

117 comments sorted by

View all comments

Show parent comments

3

u/Nyghtrid3r Oct 21 '21 edited Oct 22 '21

Or it's just very specific knowledge that is obscure and hard to find in the documentation.

Example: For a system written entirely in python and C++, I needed to use one singular batch script. For some reason I kept getting errors, somehow related to escaping a backslash. The reason why it didn't work is that because I used the redirection operator, the script was parsed twice and thus I needed to use the escape symbol three times instead of once.

I'm not going to easily figure that out and I'm not gonna read the entire documentation for batch scripts because of one single command. So that's why I asked a question on SO and got blasted by a pretentious asshole. Afterwards it turned out it wasn't even in the documentation, at least not specifically.

1

u/dudesuit Oct 22 '21

Yeah, exactly. Try encoding a JSON secret to put into the dotnet credential store from PowerShell. The quote escaping by itself is maddening. It's the things the docs don't say cause they aren't obvious or even typical and that I'd ask at stack overflow that end up downvoted or never answered.

Don't get me wrong, I've had some great experiences on SO. Like I had a question about passing a queue through a void * into a freertos thread running on a different cpu so I could have a pub/sub model for sensor data on an esp32. The docs are fantastic for the people who get RTOS and MCU level development, but to us meer mortals... Yeah. SO has been very helpful there, with solid code examples. So it's not always. And it's probably a terrible idea since, well, I did use a void * to totally smash the compiler into letting me break stuff... But I got it working cause of SO.