Register    Login    Forum    Search    FAQ

Board index » Everything




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post Posted: December 31st, 2017, 5:47 am 
User avatar

Joined: January 15th, 2017, 9:16 pm
Posts: 28
Location: Ontario
I have an unexplained bug. I have tried everything. It just makes no sense. Everything was going great and then suddenly I type one thing and it all breaks. Then I remove it, and it's still broken.

I looked through my relatively small project over and over and over, but I have no idea what is causing the issue. This has happened twice before, and I ended up quitting programming for a little while after each time. I'm not going to quit this time, but I certainly feel like abandoning the project.

It's just so frustrating.

How do you guys cope?

EDIT: I am implementing Git from tutorial 15 as we speak. I will give up on this project, and hopefully be able to avoid the issue in the future. Still curious how you guys deal with this though. Or is it avoided altogether with the use of source control?


Top 
 Profile  
Reply with quote  
 Post Posted: December 31st, 2017, 8:32 am 
 

Joined: February 28th, 2013, 3:23 am
Posts: 2908
Location: Oklahoma, United States
My advice is to learn what is causing the 'brittleness' of your projects. I find headers are a problem after awhile as the number of headers grows. I have another issue somewhat related to headers, and it's dependencies. One set of functions or types depending on another set of functions or types. Haven't figured out a clear solution, or too stubborn to take the advice that has been given to me.

I usually take breaks from programming when I realize I am trying to do something I don't understand, like physics or other college level maths. My math education in HS wasn't the greatest and I've killed too many brains cells to remember the crap I did learn.

_________________
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com


Top 
 Profile  
Reply with quote  
 Post Posted: December 31st, 2017, 8:35 am 
 

Joined: February 28th, 2013, 3:23 am
Posts: 2908
Location: Oklahoma, United States
One thing you could do is ask for help here on the forum, post the project or upload to github and post the link to the repository and someone can help so you don't end up feeling like you can't go on any further. Planet chili is in my mind a community, so treat us like one lol. Give advice, take advice share experiences and bullshit with us.

_________________
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com


Top 
 Profile  
Reply with quote  
 Post Posted: December 31st, 2017, 8:37 pm 
Site Admin
User avatar

Joined: December 31st, 2011, 4:53 pm
Posts: 3514
Location: Japan
Yeah, the #1 advice is use source control, commit often, and you will not get fucked over nearly as bad. There are other skills that can help, like ninja debugging skills. But there is no silver bullet for that; it takes years of experience to become a badass debugger. It takes maybe a day to learn Git well enough to cover your ass.

_________________
Chili


Top 
 Profile  
Reply with quote  
 Post Posted: January 2nd, 2018, 2:46 pm 
User avatar

Joined: December 11th, 2017, 3:29 pm
Posts: 20
Location: recurring
chili wrote:
Yeah, the #1 advice is use source control, commit often, and you will not get fucked over nearly as bad. There are other skills that can help, like ninja debugging skills. But there is no silver bullet for that; it takes years of experience to become a badass debugger. It takes maybe a day to learn Git well enough to cover your ass.


My mentor who has been programming for like 35 years said pretty much same thing. Any time I bitch about a problem he says "have you tried the debugger?"

_________________
The greatest joy a man can know is to conquer his enemies & drive them before him.
To ride their horses & take away their possessions. To see faces of those who were dear
bedewed with tears & clasp their wives & daughters to his arms.


Top 
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 5 posts ] 

Board index » Everything


 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron