0100 - 100 条关于计算机科学伪命题的清单,你中了几个?!
本帖最后由 不二如是 于 2021-10-11 18:56 编辑原文:传送门
网上盛传一个梗:
“你是什么专业?计算机!那你能帮我修修电脑吗...”
「懂计算机就懂修电脑的」,这个观点其实是圈外人的一种偏见。
但,计算机本专业(CS)的同学就真的懂「计算机」吗?
其实也未必!
有个计算机专业的美国老师写了一份关于计算机科学伪命题的清单,总共 100 条,见上面的传送门。
这些伪命题,都是 CS 学生信以为真,以后才慢慢明白,这些都是不正确或不完全正确的命题。
中英双语见本帖,看看曾经或者现在的你中了几个?
[*]They "know" "C/C++".
他们懂 “C/C++”
[*]Java is a reasonable choice for almost all programming tasks.
选择 Java 语言可以几乎完成所有编程任务。
[*]Programming == Computer Science.
会编程 == 会计算机科学
[*]People with a CS degree are good programmers.
拿到了计算机科学学位的学生是优秀的程序员
[*]People with a CS degree know how to program.
拿到了计算机科学学位的学生懂编程
[*]CS professors know how to program.
计算机专业的教授懂编程
[*]CS professors know how to use a computer / mobile device or how the internet works.
计算机专业的教授懂如何用电脑/移动设备或互联网如何运作
[*]You should always add lots of comments to your code.
代码中应当加很多注释
[*]Sprinkling printf statements is an efficient debugging technique.
加上满满的 printf 语句就是会调试技术
[*]Compiler warnings can be ignored, as they'd be errors otherwise.
可以忽略编译器警告,否则它们就会变成错误
[*]If it builds on your laptop, it will build on everybody else's.
如果一个软件能在这台电脑运行,就能在任何一台上运行
[*]Answers posted to StackOverflow are always correct.
StackOverflow 上的答案总是可信的
[*]If the code is on the internet, that means you can use it.
能在互联网上找到的代码,就是正确能跑的
[*]Free software is free.
免费软件是真免费
[*]Open Source means it has fewer bugs and is more secure.
开源意味着 bug 更少更安全
[*]'git' and 'GitHub' are synonymous.
git == GitHub
[*]'Unix' and 'Linux' are synonymous.
Unix == Linux
[*]'Email' and 'Gmail' are synonymous.
Email == Gmail
[*]'Bash' and 'sh' are synonymous.
Bash == sh
[*]AWS and 'cloud services' are synonymous.
AWS == 云服务
[*]'Privacy' and 'Confidentiality' are synonymous.
隐私 == 秘密
[*]'Encryption' and 'Security' are synonymous.
加密 == 安全
[*]Smart people write clever code.
聪明的程序员写出聪明的代码
[*]Productive coders write lots of code.
高效程序员写大量代码
[*]Being able to program is the most important aspect of being a good software engineer.
要成为优秀的软件工程师,编程能力一定要强
[*]Having a CS degree is a necessary and sufficient condition for being a good software engineer.
要成为优秀的软件工程师充分必要条件是拥有CS学位
[*]Real Programmers(TM) use neon-green on black terminals.
真正的程序员在终端敲绿色代码
[*]Command-line tools should print colorized output.
命令行工具应当打印彩色输出
[*]TED talks are Science(TM) and the information presented is accurate.
TED演讲是科学,所提供的信息一定是准确的
[*]Software with version numbers ending in '.0' are buggy and you should wait until the next release.
软件版本号用 '.0' 结尾表示有 bug,你应当等到下一次发布
[*]Parsing timestamps and dates is trivial. (And all the other Falsehoods about Time.)
计算机解析时间和日期是个很简单事情(还有其他关于时间的谎言)
[*]They know how to validate an email address.
CS 学生知道如何验证邮件地址
[*]They know how to validate a hostname.
CS 学生知道如何验证主机名
[*]They know how to validate an IP address.
CS 学生知道如何验证 IP 地址
[*]They know how to parse HTML.
CS 学生知道如何解析 HTML
[*]They are good at multi-tasking, as is evident from their ability to take notes in class and check Facebook at the same time.
CS 学生擅长多任务,从他们在课堂上可以边记笔记边查看脸书就可以看出该能力
[*]They understand team work based on their senior design project.
CS 学生了解基于高级设计项目开展团队合作
[*]Employers care about which courses they took.
雇主关心CS学生选了哪些课
[*]Sure, they could go on and get a PhD, but first they'll make some money; they can always come back later.
CS学生可以读博,但首先会去赚钱;随时可以回来
[*]The network is reliable. (And all the other Fallacies of Distributed Computing.)
网络是可靠的(以及其他分布计算的错误)
[*]Third-party services are reliable.
第三方服务是可靠的
[*]AWS is reliable.
AWS是可靠的
[*]Ok, but it is when you have redundancy in multiple geographic regions.
???(期待鱼油翻译)
[*]Funny names are funny, you can always change them later.
有趣的名字很有趣,总可以随时去改
[*]Variable names should be as short as possible; vowels cost extra.
[*]I/O efficiency increases linearly with the size of the buffer you use to read data into.
[*]You can read the entire file into memory.
[*]You can always write to the current working directory.
[*]You can always write to /tmp.
[*]The error message 'No space left on device.' means you are out of disk space.
[*]Ok, but in general, using temporary files is easy and risk free.
[*]After a fork(2), the parent always executes first.
[*]malloc(3) always returns a valid pointer.
[*]'main' takes two arguments, argc and argv.
[*]If you see a process with the same PID you saw previously, that means it's the same process.
[*]If you get a permissions error, chmod 777.
[*]"setuid" means the program has root privileges.
[*]File deletion requires write permissions on the file.
[*]Race conditions are only rarely triggered.
[*]Object-oriented programming is the best and most common programming paradigm.
[*]Using a custom written Vector class makes your program object-oriented.
[*]Dropbox is a suitable backup solution.
[*]They can't be hacked or phished because they understand computers.
[*]They understand computers.
[*]Most of the important lessons they need to learn are behind them.
[*]Spreadsheets and powerpoint are for business majors.
[*]Programmers spend most of their time programming.
[*]Elon Musk is a genius.
[*]Zuck is a genius.
[*]Steve Jobs was successful because, not in spite of being a jerk.
[*]The ad-driven profit model is a necessary but reasonable trade-off to make the world a better place.
[*]Software engineering is a meritocracy, because computers do what you tell them to.
[*]Technology and algorithms are neutral.
[*]Success implies talent.
[*]Failure implies fault.
[*]HBO's "Silicon Valley" is satire, not a documentary.
[*]Jokes about recursion are funny jokes about recursion.
[*]The humanities requirements were a waste of time.
[*]They will use lots of math in their career.
[*]All traffic on the internet is either UDP or TCP.
[*]DNS traffic always uses UDP.
[*]ICMP is only used for ping and traceroute.
[*]If Google uses it, then your company should use it.
[*]If Facebook does it, then it's ok for your company to do it, too.
[*]If it's younger than 5 years, it's a fad.
[*]If it's older than 5 years, it's obsolete.
[*]Using lambda in Python is a good idea because it shows others you have a CS degree and understand the "Lambda Calculus".
[*]Rewriting an algorithm to use Red-Black Trees is worth the time.
[*]They will encounter Huffman coding at least once in their career after college.
[*]Two people with a CS degree will have a very similar background and shared experience/knowledge.
[*]Algorithmic complexity and O-notation are used all the time in the "real world".
[*]Algorithmic complexity and O-notation are never used in the "real world".
[*]Academia somehow is not the "real world".
[*]There is a "real world".
[*]Brooks's Law has exceptions.
[*]Conway's Law has exceptions.
[*]Murphy's Law has exceptions.
[*]This could never happen.
[*]Nobody would enter that sort of data.
[*]This list is finite.
预知更多神文请看:
菊、套与吹水 | 【???】
如果有收获,别忘了评分{:10_281:} :
https://xxx.ilovefishc.com/forum/202011/20/092334ggd6inlzfisfrdir.png.thumb.jpg
如此多懂学习的VIP至尊都已订阅本专辑,你还不快点行动!(☞订阅传送门 ) 中了 N 条{:10_319:} 沙发 {:10_245:}中了 N 条{:10_319:} 中了 N 条{:10_319:} 中了 N 条{:10_319:} 中了 N 条{:10_319:} 中了 N 条{:10_319:} {:10_254:}中了 N 条{:10_319:} 中了 N 条{:10_319:} 中了 N 条{:10_319:} 中了 N 条{:10_319:} 中了 N 条{:10_319:} 中了 N 条{:10_319:} 中了 N 条{:10_319:} 中了 N 条{:10_319:} 中了 N 条{:10_319:}{:5_90:} 中了 N 条{:10_319:} 中了 N 条{:10_319:} 中了 N 条{:10_319:}