Nope. I basically was in auto pilot and duplicated some code to handle another case in the software we are developing then just tweaked it and ended up with that. This was months ago and only now, thanks to another edge case did it throw up a flag. Me and my work mate had a really good laugh at this and thought others might enjoy it as well.
9
u/luckiestcolin Sep 06 '21
C'mon, Tim!
4
u/EvilPettingZoo42 Sep 06 '21
Maybe he was trying to accomplish something, poorly. Were they just trying to verify the ID exists? Or are there duplicates of either field.
2
u/wholl0p Sep 06 '21
This code will never work smh. It’s not CAPS