ADM-201 dump PMP dumps pdf SSCP exam materials CBAP exam sample questions

扎克伯格给你解释什么是程序里的循环 – 译学馆
未登陆,请登陆后再发表信息
最新评论 (0)
播放视频

扎克伯格给你解释什么是程序里的循环

Mark Zuckerburg teaches REPEAT LOOPS

电脑非常擅长做的一件事就是重复执行指令
One thing that computers are really good at is repeating commands.
作为一个人 如果连续的做同样的事很多次你会觉得格外厌烦
As a person, you’d get really bored if you had to do the same thing lots of times in a row.
可电脑能够重复做同样的事上百万次甚至数十亿次
But a computer can do the same thing millions or even billions of times,
它不会觉得厌烦而且每次都执行的很好
and not get bored and be able to carry that out really well.
比如说若是我想祝贺
So for example if I wanted to wish
每个在Facebook上的人生日快乐 通过邮件来发祝福
everyone on Facebook a happy birthday by sending them an email,
这意味着我要花上一个多世纪来给每个人写这个祝福邮件
it might take me more than a century to actually write out all of those emails to everyone.
但如果使用几句代码 我就可以让系统
But with just a few lines of code, I can have a system
自己给每个Facebook上的人发送邮件祝贺他们生日快乐
send an email to everyone on Facebook wishing them a happy birthday.
所以 这就是循环指令以及为什么它们这么有用
So that’s what loops are, and why they’re valuable,
这也是电脑可以做得非常好的事
and something that computers can do very well.

发表评论

译制信息
视频概述
听录译者

收集自网络

翻译译者

Nullyl

审核员

自动通过审核

视频来源

https://www.youtube.com/watch?v=hYvcoRkAkOU

相关推荐