+ 55

What would you do when you get stuck programming?

Sometimes there are errors that I cannot find when programming, so I take a break and get a snack from the fridge. When I come back I take another look and I fix the problem. What about you?

29th Apr 2017, 3:11 AM
Hello Hello
Hello Hello - avatar
129 odpowiedzi
+ 57
For severe errors, I get some sleep and wake up the next day.
29th Apr 2017, 4:06 AM
Hatsy Rei
Hatsy Rei - avatar
+ 57
I play Call of Duty... with a lot of chips and coffee! ✌^_^
29th Apr 2017, 2:14 PM
JΞΜΔ 🇨🇩👑
JΞΜΔ  🇨🇩👑 - avatar
+ 55
I will use a code debugger. 😸
30th Apr 2017, 6:39 PM
NimWing Yuan
NimWing Yuan - avatar
+ 46
i'll break my code and use scaffolding principal by testing each code block and their relation with other code block to isolate the error.
29th Apr 2017, 3:43 AM
Agus Mei
Agus Mei - avatar
+ 34
1▪ Go back again for solution may be if find the simple errors. 2▪Leave it for a while because the solution can be game to my mind while washing dishes😂 3▪Internet .. search will in the internet. 4▪ Friends 5▪ Latter i put Q in sololearn😅
29th Apr 2017, 3:29 AM
‏‪‏‪‏‪‏‪‏‪Lamiya‬‏‬‏‬‏‬‏‬‏
‏‪‏‪‏‪‏‪‏‪Lamiya‬‏‬‏‬‏‬‏‬‏ - avatar
+ 28
Try find solutions once again If couldn't, leave the project and start new project lol : ) That is the reason why my project rarely finished 100% : )
29th Apr 2017, 2:58 PM
Immanuel
Immanuel - avatar
+ 24
1. Break down the problem into small and solve small problems and integrate that. 2. will look for similar problem using Google 3. ask here on Sololearn or stack overflow 4. ask to a friend or collegeue who is smarter.
29th Apr 2017, 8:01 AM
Nithin
Nithin - avatar
+ 24
Improve from your daily learning, and always learn from your errors while you scale your code learning process
5th May 2017, 8:30 PM
Rui Luis João Coutinho Jr
Rui Luis João Coutinho Jr - avatar
+ 22
I take a warm bath or a walk and a ☕, it helps me relax and concentrate more, then I come up with several ideas on how to approach a problem 😊
4th May 2017, 3:14 PM
Pao
Pao - avatar
+ 20
Personally, I: 1. Try to localize the problem using debugging or other methods 2. Write a test app(unit-test) 3. Search on the Internet for possible solutions 4. Go for a walk, to the swimming pool, a gym, wash dishes 5. Watch a movie 6. Talk to someone about the code if I am not working alone 7. Post a question on stackoverflow or codeproject 8. Go to sleep and give my brain a task to solve. There is a big chance that when I wake up in the morning I will have a solution.
29th Apr 2017, 11:08 PM
wave rider
+ 20
What if you're in a situation where there is no snack, no fridge? I solve problems at once, I don't waste time or prolong problems because it borders me. And Google is my friend.
4th May 2017, 2:56 PM
Wisdom Abioye
Wisdom Abioye - avatar
+ 19
Play Ninja Arashi.
29th Apr 2017, 2:52 PM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar
+ 18
exactly that. or go for a run. I keep thinking about the problem whilst away from the pc though just helps not looking at the errors sitting there taunting me
29th Apr 2017, 3:17 AM
jay
jay - avatar
+ 17
just take a nice shower and........sleep
1st May 2017, 3:37 AM
cHiRaG GhOsH
cHiRaG GhOsH - avatar
+ 15
I would try to split it into some parts so I can try each one to see where is the error. Also always if you have an error message try to look if you don't understeand the meaning, the messages are intended to help you finding the mistake. And some times you just need to take a break and try later...
3rd May 2017, 5:08 PM
C.E.
C.E. - avatar
+ 15
"I play Call of Duty... with a lot of chips and coffee!" Hahahahhah i have to agree on this one XD
4th May 2017, 7:31 AM
Krieg7
Krieg7 - avatar
+ 14
I prefer sololearn. Take challenges, question answers
2nd May 2017, 6:36 PM
Vidya
Vidya - avatar
5th May 2017, 5:59 PM
Nitin Dixit
Nitin Dixit - avatar
+ 12
usually sleep on it. if i still cant figure it out, i google it
29th Apr 2017, 3:35 AM
Edward
+ 12
1) Find The Problem. 2) Save/List The Problem To Be Fixed. 3) Work out how long you have to solve it. 4) Read articles/relevant information online + apply knowledge. 5) Ask for help if possible.
2nd May 2017, 11:23 AM
Daniel William Rutter
Daniel William Rutter - avatar