I’m a junior developer and working every other three months in a software development company as part of my corporate studies.
The reason for asking this question is that I get kind of mocked for using Stack Overflow/documentation so frequently which makes others and myself doubt my abilities. For me it’s a natural part to work more efficiently and become more aware of the language. Someone once told me something like: “A surgeon cannot read his books every time he has to operate on a patient.” Which is in my opinion nonsense.
I’m also asking for the future; e.g. if I have to write code during an interview for another job I guess you shouldn’t use the documentation.