Details, Details, Details Always Pay Attention to The Details When Writing Code

It's amazing that when I am coding, I am so sure of what I am inputting, even if I am looking right at my notes or a given formula. But I still get a bug.

I just looked at a 7 line formula for an hour! I didn't see any mistakes. I drank coffee, but the bugs were still there. I did a load of laundry, but the bugs were still there. I thought, I stared and I questioned the editor, I thought, "there must be something wrong with this editor..."

But the problem really was with the code, I just didn't see it! After I put my laundry in the dryer, nature called(if you get my drift), and I decided I'd look at the code while I tended to the duties that rang my bell.

I sat there for about 10 minutes, and then low and behold, I saw it! I found the bugs in my code. They were so obvious, but it took a while for me to find my errors.

Lesson Learned

Coding is an exercise that requires focus and attention to detail. More importantly attention to detail. This will save you tons of time trying to figure out why your computer sucks, when the problem is really you.

The next tip I'd like to suggest is checking your code after each function is applied or as soon as your code allows. This will prevent you from writing 700 lines of code and finding that it doesn't work.

It's like finding a needle in a haystack! So be diligent, patient and pay attention to those details. Coding is not for the sloppy or those that need instant gratification.

With these words, I bid you...

Good night