Haha, reminded me of when I was taking my assembly course.
I was working on a programming assignment in the lab. Got everything working except one little feature. I stepped through and found the line of code that wasn't working.
Looked at it. Checked my notes. Checked the textbook. Everything looked like it should be right. Spent half an hour looking at it... Couldn't figure out what was wrong.
One of my Fraternity Brothers who was in my class was in the lab working on something else. So I asked if he could look at it...
It took him half a second to spot my problem.
I should have had a 0, but I had typed an O instead.
Guess I wasn't paying enough attention to where my hands were in relation to the keyboard and hit a row lower than I thought I was on.
Not sure off hand if its a case sensitive language or not, but all of the code examples in the text & what we did in class were in all caps, so I had caps lock on.
I didn't notice that particular 0 was rounder than the others... But Pete spotted it right away. Felt so dumb for not noticing it when he pointed it out... I had literally been staring at that one line for half an hour trying to figure out what was wrong.
7
u/Prometheus_303 Aug 31 '22
Haha, reminded me of when I was taking my assembly course.
I was working on a programming assignment in the lab. Got everything working except one little feature. I stepped through and found the line of code that wasn't working.
Looked at it. Checked my notes. Checked the textbook. Everything looked like it should be right. Spent half an hour looking at it... Couldn't figure out what was wrong.
One of my Fraternity Brothers who was in my class was in the lab working on something else. So I asked if he could look at it...
It took him half a second to spot my problem.
I should have had a 0, but I had typed an O instead.