I mean, sure... Your assuming there is documentation, or that it's accurate. Want crazy with some weak documentation? The .net reflection API. Oh, how about win32 in c? Or some other really messed up codebase that's old, not public, and should have been rewritten 25 years ago, yet was dragged into another 3 languages via obscure interop so that management could claim that the dev team uses new, more appealing languages? Stack overflow isn't interested either.
You are acting like I said documentation is solution to everything, what I said is that if SO has no such question, it is likely that you are asking it incorrectly, it is a trivial solution described in the documentation or should be approached differently.
(Ex: how do I press a keyboard button for the user? 1) look in the input/output API, 2) just call the function triggered by that button, this also allows you to remap keys)
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.
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.
why can't people just answer to a simple basic question? currently playing with discord bots in node js, and i barely know javascript. Should I learn javascript first? Yes, but it's a hobby, not my job, i don't want to spend my time learning a whole programming language when i just want to do something fun.
Tried to ask for help regarding some small thing i wanted to do and didn't know how on programming discord server and obviously people told me to go watch a javascript guide :) Literally the answer was a line of code made out of less than 20 characters
You're right, that's an incredibly lazy reply to tell someone to just learn the language, but you have to consider it from the point of view of someone who knows the language well and has actually gone through all the effort of learning the language from guides. There are guides everywhere, and they're well categorized that would allow you to cherry pick the information you need.
In the future, I would recommend you ask about the terminology, and then just search within the guides for topics regarding that terminology. If I wanted to learn how to use lambdas to filter a list of items, but didn't know the term "lambda", it would be very difficult to get what I want to learn. I'd end up with many older guides telling me to use a for loop, for instance. So ask for how things are called, and search for that and I promise you'll be met with greater success.
Also a very undervalued skillset in our field is learning how to search for the information you need.
Indeed guides are very useful, but for example a problem i stumbled upon was the for discord bots there are couple versions, and i was using the latest one that had pretty big changes, so whatever i would search for wouldn't work in my case. Took some time to figure that out
This is the way that site works - its not a forum, not Qura, not Reddit. It is for the professionals by the professionals, but you are free to look silently.
1
u/DaniilBSD Oct 21 '21
Day 205 of telling people
STACK OVERFLOW IS FOR FINDING ALREADY ANSWERED QUESTIONS!!!
IF YOU DO NOT HAVE YEARS OF PROFESSIONAL EXPERIENCE YOU ARE NOT QUALIFIED TO ASK THERE
Because either:
a. You are trying to do something stupid
b. Someone already asked it.
c. You do not have the experience to ask the question correctly (on the correct level of abstraction with correct terminology)