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 can also have a multi-threaded algorithm, set your priority to 99, an idle thread to 50, and a woman's priority to 49. Zixiu will never be scheduled
That's okay, then call that woman always. . . You put BF there without moving. . . Keep
Go on a trick, use goto, make an endless loop, let them go to death
Be kind, do n't goto, call the exit function to end the process.
Check the Log. Is it just shopping? LOL.
Comments
Post a Comment