I was taught the 20 minute rule and it's been really helpful. Basically when you're stuck try everything you can think of for about 20 minutes. Google stuff, try stuff, try to talk it through on your own... and if you're still stuck ask for help. I usually try to spend 5 minutes making sure I can accurately explain the problem to the person I'm asking.
It's been a huge thing because it's easy to just ask for help without trying yourself and it's also easy to sit there feeling like you haven't struggled enough to justify asking for help yet.
You are right! You should struggle for a little bit!
Give that brain some work :)
Just don't tilt!
For some people, it is hard to find that line where they tilt.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.