Write your story as if it just happened to you. Start with when today, last week, etc. Explain either what you were trying to do or the problem you noticed. Tell us what you realized when you debugged the problem and finally end with FMC (F my code).
Example: Today I executed a SQL delete query and accidently wrote ';' before my where clause. FMC
Example: Today my code suddenly threw exceptions about the date being invalid. After rebuilding, looking at diffs and general debugging i realize it was pass midnight. It is the end of daylights saving so in 40mins it will be midnight again. The IDE and platform was reporting my computer time as invalid. FMC
-
Today my code suddenly threw exceptions about the date being invalid. After rebuilding, looking at diffs and debugging I realize it was pass midnight. It is the end of daylights saving so in 40mins it will be midnight again. The platform threw an exception because my computer time is 'invalid'. FMC
6
F_() Your Code
4
You Deserve It
-
Today in .NET I wrote a statement to check if a session ID matches an ID in the DB. It always returns false. Puzzled I looked at ExecuteScalar than learned that an object== a string does not check for equality :(. FMC
3
F_() Your Code
7
You Deserve It
-
Today I wanted to make rash changes to my code. I committed my code through a GUI frontend and left the room. When I returned I immediately made the games. They were bad enough I wanted to revert. Than I saw my SVN GUI window still open with SVN reporting a 'lock' error on my 1man project. FMC!
2
F_() Your Code
3
You Deserve It
-
Today I look into why my app was pausing for a second or two frequently. Out of laziness I pause/resume the IDE rapidly and happen to find it. strlen(sz) in a for loop isn't optimize to be call once. sz is >8k so it is going through >8k*>8k of bytes every time. It been like this a over a month. FMC
4
F_() Your Code
2
You Deserve It