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

推荐订阅源

freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
腾讯CDC
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
L
LINUX DO - 热门话题
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Project Zero
Project Zero
V
Vulnerabilities – Threatpost
Cisco Talos Blog
Cisco Talos Blog
P
Palo Alto Networks Blog
C
Cisco Blogs
A
Arctic Wolf
月光博客
月光博客
The GitHub Blog
The GitHub Blog
T
The Blog of Author Tim Ferriss
量子位
小众软件
小众软件
Latest news
Latest news
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Microsoft Security Blog
Microsoft Security Blog
T
The Exploit Database - CXSecurity.com
Security Latest
Security Latest
N
Netflix TechBlog - Medium
K
Kaspersky official blog
人人都是产品经理
人人都是产品经理
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园_首页
Y
Y Combinator Blog
P
Proofpoint News Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
M
MIT News - Artificial intelligence
T
Threat Research - Cisco Blogs
S
Schneier on Security
D
Docker
Scott Helme
Scott Helme
MyScale Blog
MyScale Blog
Spread Privacy
Spread Privacy
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
GbyAI
GbyAI
有赞技术团队
有赞技术团队
Google DeepMind News
Google DeepMind News
The Hacker News
The Hacker News
H
Help Net Security
Simon Willison's Weblog
Simon Willison's Weblog
J
Java Code Geeks
C
Cyber Attacks, Cyber Crime and Cyber Security
T
Tenable Blog
B
Blog
Know Your Adversary
Know Your Adversary
IT之家
IT之家

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,只逛街了吗?

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