DEV Community

Cover image for How Do You Stay Motivated When Facing Programming Problems?

How Do You Stay Motivated When Facing Programming Problems?

Ben Halpern on March 20, 2023

Programming can be tough, and when you hit a difficult problem, it can be hard to stay motivated. But don't worry! There are tons of seasoned coder...
Collapse
 
jonrandy profile image
Jon Randy 🎖️ • Edited

Challenges and problems are what keep me motivated. Nothing worse than boring, handle turning programming that always works. Solving problems is (or should be) what we do. The job would be boring otherwise.

Collapse
 
nikfp profile image
Nik F P

Whenever I hit a particularly hard problem, I find it helpful to start working on things close to the problem and expanding my knowledge around the problem space. Usually it's a mix of several things that I need to understand to solve it, and if I can expand my context surrounding the issue I'm able to approach it from other directions.

Collapse
 
corners2wall profile image
Corners 2 Wall

Oh dude, I think this term sounds as critical mass. You collect knowledge bit by bit until the cup of insight outweighs your problem

Collapse
 
nikfp profile image
Nik F P

Yeah, I think that's a really good way to look at it.

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Go to sleep and wake up the next day that usually does the trick

Collapse
 
overflow profile image
overFlow

Or take a nap. i usually cannot go to sleep knowing something is looming. I was the dishes. but obviously first i gotta eat lol.
I sweep I clean I mop. i usually get the best ideas then. because I kinda zone out I go zen. lol

Collapse
 
lov111vol profile image
Marcin Szolke/Scholke

exactly :)

Collapse
 
szabgab profile image
Gabor Szabo

Chocolate

Collapse
 
overflow profile image
overFlow

not good for the blood sugar that stuff is poison....as loveable as it is....Ludacris once said :"why is it that all the things that are not good for me make me feel so gooood???"

Collapse
 
mooict profile image
MOOICT

Coffee, lots and lots of Coffee

Collapse
 
montyharper profile image
Monty Harper

Curiosity helps keep me motivated. If the app displays some unexpected behavior, I want to know why it's doing that. How can I track it down? What will I discover? How will I fix it? My brain gets hooked on those questions. If one thing doesn't work, I think of three more things to try because I really want to get to the bottom of that mystery.

Collapse
 
overflow profile image
overFlow

And look back to when you started and the things you know now that you didn't know then.
The things that looked arcane then that look trivial now and how you overcame them then.
You will see how much you know. and how you are not just a noob.
You can teach someone a thing or two. You are a bwoss at what you do.
You can write them down and list them.
And remember you are one in a million.many give up to the thought. many give up just from looking at html and many give up somewhere mid css but many hold on and go on.
That is us. that is you and that is me.
That is why we are here together because we know the path is not easy.
But we are together part of an exclusive club. outsiders look at us and point at us and say:"Them they. Those computer guys!!!".
They over hear us talking that lingo!!!! and using them technical terms!!!
The ladies cant wait to be updated and their boyfriends cant stand the thought. They wanna format their memory of it. But we go nowhere we are a const not a variable.

Collapse
 
bybydev profile image
byby

I often take break and look for inspiration from other developers or projects.

Collapse
 
drsensor profile image
૮༼⚆︿⚆༽つ • Edited
(sleep (rand 5min 1hr)
  (on chair)
  (on sofa)
  (on bed)
  ...)

(workout (rand 5s 1min)
  (lift dumbbell);(with arm)
  (lift dumbbell (with foot))
  ...)
Enter fullscreen mode Exit fullscreen mode
Collapse
 
miketalbot profile image
Mike Talbot ⭐

I find momentum helps me - so when I have a set of challenges, I make sure I'm up to speed by doing some simpler things to get me flowing, then step in to or back to harder challenges.

Collapse
 
villelmo profile image
William Torrez • Edited

I never can conclude a project nor have a good command of a language of programming, half-heartedly.