一个女程序员twitter上发了一条tweet。。。

Xredman posted @ Sep 06, 2010 10:04:11 AM in 自娱自乐 , 1433 阅读

一个女程序员twitter上发了一条tweet:

昨晚梦见男朋友和别的女人在逛街,梦里我的第一反应是查源代码…结果调试半天查不出来为什么显示的是那个女人不是我,最后含泪把那个女人给注释掉了,再一运行就是我男朋友自己逛街了…醒来囧字脸呆了很久…囧rz

评论:
把那个女人的指针指向你即可
谁让你把男朋友设成public的
加个断点看看那女人是谁
心真软,就该把他的接口屏蔽掉。//是我想多了么
protected 逛街(youOnly)
设计问题,应该采用单例模式
没做回归测试
标准做法是做个断言
注释掉了逛街的参数不用改么
不要忘记GC谢谢
查一下Log,只逛街了吗?






  • 无匹配
  • 无匹配
dancefish 说:
Sep 13, 2010 06:06:31 AM

怎么分享?

jnanabhumiap.in 说:
Jan 09, 2024 01:10:26 AM

The primary idea or goal of this website has been to offer comprehensive resources with information on any subject that can be accessed online. To make sure that every reader finds out what they should know about the subject they are interested in and jnanabhumiap.in links to our content.Jnanabhumi AP is a startup founded by enthusiastic bloggers and webmasters who are driven to produce interesting, factual, and well-written content. We are similar to an online community where you can find a variety of resources, information, and topics about newsworthy events or daily occurrences.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter