Why I hate taking dependency on other people code...
When I need to write stuff like this one:
/*
THIS IS NOT A BUG.
This is because the get_Result can be null or
undefined and this
is considered a false value.
*/
return Messages.get_result() == true;
The sad part is that it took nearly an hour to figure out why this happened.
The really sad part is that I would waste my time trying to explain to the developers who wrote this code why this is not a good idea.
Comments
Comment preview