/* True story sent by Erisvaldo Carvalho */
Manager: What code is it that you’re trying to fix?
Programmer: SQL…
Manager: Hmmm… Let me see it…
Manager: I wonder that the error is there on these — (minus minus), because “minus minus” equals “plus”… It’s a calculus fail
Manager: What code is it that you’re trying to fix?
Programmer: SQL…
Manager: Hmmm… Let me see it…
Manager: I wonder that the error is there on these — (minus minus), because “minus minus” equals “plus”… It’s a calculus fail
Original: Erro de SQL


Manager: What code is it that you’re trying to fix?
Programmer: Some SQL…
Manager: Hmmm… Let me see it…
Manager: I wonder if the error is with these — (minus minus) things, because “minus minus” equals “plus”… It’s a math failure
It’s exactly…
I faced it on a past job. I had a supervisor that was not an IT professional, but used to think that he was “almost a programmer”, because on the past he had built some “MS Access ‘applications’”.
There was a day when I was debugging a legacy code, he came and said: “the problem may be on the ‘==’, that is duplicated on the ‘if’.
Bad… bad days!