I think everyone falls into that trap now and then when their brain is farting like coding late at night a simple trick to avoid this problem is thisDo you experienced programmers tend to have a common syntax or logic errors? LikeStuff like that?Code:if (size = 3) instead of if (size == 3)I came across this a while ago and it seems to help me out.Code:size = 3 /* size gets 3 */ size == 3 /*size equals three or size is three */
That would be assumed under testing. Yes. perhaps I should have added.I don't see debugging in there. Is that under testing?
1.plan
2.code
3.test
4.pull hair!! beat head against wall repeatedly
4.repeat steps 2 - 4 ad nauseam.