惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Secure Thoughts
罗磊的独立博客
T
The Blog of Author Tim Ferriss
人人都是产品经理
人人都是产品经理
博客园 - 叶小钗
Last Week in AI
Last Week in AI
美团技术团队
Google Online Security Blog
Google Online Security Blog
Application and Cybersecurity Blog
Application and Cybersecurity Blog
D
Docker
G
Google Developers Blog
大猫的无限游戏
大猫的无限游戏
酷 壳 – CoolShell
酷 壳 – CoolShell
小众软件
小众软件
月光博客
月光博客
L
LINUX DO - 最新话题
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
W
WeLiveSecurity
H
Heimdal Security Blog
Vercel News
Vercel News
SecWiki News
SecWiki News
Forbes - Security
Forbes - Security
Blog — PlanetScale
Blog — PlanetScale
Google DeepMind News
Google DeepMind News
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
www.infosecurity-magazine.com
www.infosecurity-magazine.com
TaoSecurity Blog
TaoSecurity Blog
T
Troy Hunt's Blog
A
About on SuperTechFans
C
Check Point Blog
S
Security Affairs
Hacker News - Newest:
Hacker News - Newest: "LLM"
AI
AI
WordPress大学
WordPress大学
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Help Net Security
Help Net Security
博客园_首页
The Last Watchdog
The Last Watchdog
S
SegmentFault 最新的问题
Hugging Face - Blog
Hugging Face - Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
Engineering at Meta
Engineering at Meta
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
I
Intezer
K
Kaspersky official blog
M
MIT News - Artificial intelligence
J
Java Code Geeks
G
GRAHAM CLULEY
P
Palo Alto Networks Blog

Inception

Inception 原版陀螺 - V2EX Inception - The App - V2EX 能拍成 TV Series 就爽了 - V2EX Inception Bluray Limited Edition 入手 - V2EX 悬浮陀螺 - V2EX Inception.2010.DVDRip.720p.H264-m2tHD - V2EX 新写的观后感 - V2EX INCEPTIONAUTS - V2EX 老实说,没有Matrix好看…… - V2EX 最后什么都没有!!! - V2EX 做了一个双层梦 - V2EX 清醒梦 Lucid Dream - V2EX 大伙们是看中文版还是看原版的? - V2EX 要是以Inception题材做一个小游戏? - V2EX 你们不觉的看Inception的时候自己像个堆栈么? - V2EX 哪个陀螺到底倒了没有?我们电影院没放完就把屏幕关掉了~ - V2EX Ellen Page 和 Vera Farmiga - V2EX 个人认为Inception不如Matrix的原因 - V2EX Limbo - V2EX Inception - V2EX
一个女程序员做梦“梦见男朋友和别的女人在逛街” - V2EX
samt · 2010-09-06 · via Inception

samt

V2EX  ›  Inception

一个女程序员做梦“梦见男朋友和别的女人在逛街”

 

samt ·

PRO

· 2010 年 9 月 6 日 · 13988 次点击

这是一个创建于 5761 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

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

评论是亮点,挑了一些主流的评论:

把那个女人的指针指向你即可

谁让你把男朋友设成public的

加个断点看看那女人是谁

心真软,就该把他的接口屏蔽掉。//是我想多了么

protected 逛街(youOnly)

设计问题,应该采用单例模式

没做回归测试

标准做法是做个断言

注释掉了逛街的参数不用改么

不要忘记GC谢谢

查一下Log,只逛街了吗?

(注:你会怎么回复呢?)