Investigate : ReIterateThroughDataBaseGreaterThanZero(X,YIn,Params)

man sitting in front of three computers

You add some debug logging code and it’s it. Checkpoint….So…turns out ReIterateThroughDataBaseGreaterThanZero(X,YIn,Params) totally doesn’t work and it seems to be the smoking gun, at least you hope that’s what it is. The function itself is inside like three nested Try-Catch statements and a long qualifying if statement. Upon closer investigation, you even see some normal looking comments which now appear to be extremely passive aggresive around this function. They were trying to be professional, but you see the anger, the frustration.

What do ya do?

  1. Rewrite the function
  2. Remove the function Try-Catch fail safes
  3. Rewrite the function
  4. Stare angrily at the function
  5. Google it
  6. Look at the function calling it
  7. Look at the complicated function being called inside of ReIterateThroughDataBaseGreaterThanZero(X,YIn,Params)

Published by B McGraw

B McGraw has lived a long and successful professional life as a software developer and researcher. After completing his BS in spaghetti coding at the department of the dark arts at Cranberry Lemon in 2005 he wasted no time in getting a masters in debugging by print statement in 2008 and obtaining his PhD with research in screwing up repos on Github in 2014. That's when he could finally get paid. In 2018 B McGraw finally made the big step of defaulting on his student loans and began advancing his career by adding his name on other people's research papers after finding one grammatical mistake in the Peer Review process.

Leave a Reply

%d bloggers like this: