A female programmer's twitte on twitter: Last night I dreamed that my boyfriend and other women were shopping. My first reaction in the dream was to check the source code ... After debugging for a long time, I couldn't find out why the woman was not me, and I commented out the woman with tears , Another run is my boyfriend shopping by himself ... Reviews: Just point that woman's pointer at you, Who made you make your boyfriend public? Add a breakpoint to see who the woman is Really soft, you should shield his interface Protected shopping (youOnly) Design issues, should use the singleton pattern No regression test The standard practice is to make an assertion Commented out, do not need to change the shopping parameters? In the end, the woman was commented out with tears, and my boyfriend went shopping by himself after another run-> it is obviously a problem with the scope of the variable name, just change the name You c...
Just want to spend this life happier.