One night, being tired and sleepy, I wrote something like this
if(a == true)
{
doSmth();
}
else if (a == false)
{
dontDoSmth();
}
In the next morning, when I found this, I decided to leave this code on its place, because it was so embarrassing and stupid, so I monumented it in my code.
One night, being tired and sleepy, I wrote something like this
In the next morning, when I found this, I decided to leave this code on its place, because it was so embarrassing and stupid, so I monumented it in my code.
ohh... you missed a check for NULL 😂😂