You should acquire overtime this instinctive aversion to just code or programs that just look ugly because things that look ugly generally are not easy to maintain.
对于代码和程序你会有一种本能的讨厌,这是因为这些代码和程序看起来很丑陋,并且不容易维护。
Not just in sort of mathematical things like chess or math, there are, as you know, programs that can write music.
不止是下棋或数学这类跟数理有关的事,你知道,有些程序甚至能创作音乐
This is boring. In fact, you can do some nice things to prove what is the class of functions you can compute with straight-line programs, and what you'd see if you did that is, it's not particularly interesting.
这很无聊,实际上,你可以通过做一些很有趣的事情,来证明你可以通过直线程序,来做很多功能,但是你也看到我们之前讲过的了,这不太有趣。
Now just to get used to the conventions, 0 because this is the program you'll use not for problems at 0 but for 1 to start writing programs, notice at the top in this window just reminds you what you're working on.
我们要入乡随俗,习惯这样的界面,因为这是你们将要用到的程序,不是为习题集0,而是0,而是为习题集1开始写程序的,注意窗口顶部,这是用来提醒你,你工作在何种环境。
So an adversary who's actually trying to break your programs 'cause frankly too much software these days is not written with a paranoia in mind.
或者说是你的敌人,而且千方百计地要破坏你的程序,唉,这种漏洞百出的软件我见过的是在太多了。
Remember, it's not as though the people who designed the chess-playing programs can beat it.
记住,那些设计象棋程序的人,貌似也下不过他们的象棋程序
So, an alternative to that that is incredibly common in just the programming world and in industry is to actually not write programs on your own personal computer but to actually write and run them on a server, someplace where the software is all standardized.
那么,在编程界和工业界普遍,使用的一个解决方案是,不在你自己的电脑上写程序,而是在服务器上编程运行,服务器上的软件都是标准化的。
All the supreme court justices would share our social values. And most importantly, our programs would work the first time we typed them. By now you may have noticed that we do not live in an ideal world.
符合我们的社会价值观,但是最重要的是,我们写好的程序,第一次就能顺利运行,如今你可能已经注意到了,我们生活的并不是一个理想的世界。
It's not nearly as graphical but at least we're not hardcoding programs that are otherwise uninteresting.
这可不是绘画,我们至少不是在硬编码程序,那是没有趣味的。
That is not the way chess-playing programs work.
但国际象棋的程序并不是这样工作的
应用推荐