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

推荐订阅源

Google DeepMind News
Google DeepMind News
Stack Overflow Blog
Stack Overflow Blog
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
T
The Blog of Author Tim Ferriss
博客园 - 叶小钗
N
Netflix TechBlog - Medium
腾讯CDC
C
Check Point Blog
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
GbyAI
GbyAI
S
SegmentFault 最新的问题
F
Fortinet All Blogs
美团技术团队
U
Unit 42
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 司徒正美
F
Full Disclosure
Recorded Future
Recorded Future
D
DataBreaches.Net
博客园 - 【当耐特】
Martin Fowler
Martin Fowler
J
Java Code Geeks
I
InfoQ
Y
Y Combinator Blog
A
About on SuperTechFans
AI
AI
爱范儿
爱范儿
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Forbes - Security
Forbes - Security
W
WeLiveSecurity
M
MIT News - Artificial intelligence
雷峰网
雷峰网
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
Schneier on Security
Schneier on Security
The GitHub Blog
The GitHub Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
aimingoo的专栏
aimingoo的专栏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
G
GRAHAM CLULEY
Know Your Adversary
Know Your Adversary
Latest news
Latest news
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
D
Docker
Recent Commits to openclaw:main
Recent Commits to openclaw:main
量子位
V2EX - 技术
V2EX - 技术
Project Zero
Project Zero

Xie Yonglin Blog

网站新增一些有趣的小玩意 手机越旧,生活越美好 电脑小白 vs 高手 vs 技术宅:常用软件大比拼 吃力不讨好 搜索工具进化录:从 Google 到 Claude 为什么我用独立博客代替社交媒体 近期生活小记 汇丰,会疯!会封? 七月继续填满健身圆环 祝你幸福 周杰伦新歌 MV 有错别字? 电动车 Sample, text here 抢购口罩的奇葩方式 组装电脑 Buster Keaton 的默片时代 为微信网页版添加论坛风签名档(附源码) 新年梦见第一首歌 520 随笔
当歌名遇上代码
2018-03-14 · via Xie Yonglin Blog

当歌名遇上代码

· One min read

遇到一个唱歌很棒的 12 岁妹妹,给我唱了一首《隐形的翅膀》。突然想到这个歌名可以用代码表示为 wings.setVisible(false);

然后脑补了其他歌名的代码版本:

《不得不爱》→ while(true){love();}
《爱就一个字》→ love.length = 1;
《暗号》→ message.encrypt();
《红色高跟鞋》→ shoes.setColor("red").setType("highHeel");
《爱情转移》→ love.transfer(newPerson);
《听妈妈的话》→ mom.getAdvice().listen();

程序员 + 音乐人的快乐就是这么简单 😆 你也想到了其他歌名的代码版本吗?