At one level, you might say there is an important difference in style that you will see almost immediately.
在一个层面上,你可能会说有个重要的差别是风格,我们马上就会看到。
you can get animal style fries, so you get fries,
你还可以要动物风格的薯条,他们就会给你薯条,
In general, good programming style says you put in comments that are going to be valuable in helping you as a reader understand what's going on inside of the code.
通常来说,优秀的编码风格意味着,你要放进去的注释,在帮助代码阅读者,理解代码内部,是怎么工作的。
As a matter of convention and good style which is another theme of the course that we'll focus more - on on Friday onward, it's generally good to-- good style to actually describe in English even succinct English, what your program is doing.
大家要养成一个良好的编程习惯,这是本课程另一个重要的中心思想,我会在本周五还有以后的课堂时间着重强调这个问题-,用简明扼要的语言,描述你的程序,是一种很好的编程风格。
Or today, if you look at both primaries going on now, you're seeing various candidates on both the Republican side and the Democratic side, seek to position themselves.
再或者说现今的党内初选时,你会发现不同风格的候选人,无论他们是民主党的还是共和党,都在寻找适合自己的政治立场
One of the things that's interesting about that is you can see pottery styles that you can hardly tell whether they came from one end of the Mediterranean or another, if they're of the Mycenaean variety, because it was a single culture.
一个有趣的现象是,你可以鉴别出陶器的风格,但你却很难区分,它来自于地中海的哪一边,因为它们都属于同一文明
Some aristocrats began to put on western style wigs, such as you could find at the court of Versailles.
一些俄国贵族开始戴上了西方风格的假发,这样的假发你可以在凡尔赛的宫廷里面见到
Or, you cycle through all the great art museums in the world and you say, "Yeah, I've seen these Picassos.
或者你游遍各地艺术馆,你会说“是的,我见过毕加索风格的画。
You talked about dialog. Is there anything else about the style that you noticed? Yes.
你刚提到了对话,你还注意到了,其他关于风格的东西吗,是的。
What type of clothes do you like to design?
你喜欢设计什么风格的衣服?
so you can get your burger animal style,
你可以要一个动物风格的汉堡,
Could you describe his style of painting?
你能描述下他画画的风格吗?
Which style or which taste do you want?
你想要什么风格或味道的?
Meaning, we're going to try to help you with how to develop good programming style, but you need to write in a way in which it is going to be easy for you to spot the places that cause those semantic bugs to occur.
这意味着我们会帮助你,形成良好的编程风格,但是你需要去以一种,容易发现,程序中,容易发生语义bug的地方的方式去写代码。
And so to deal with this last one, you need to develop style. All right?
因为为了对付最后的这种问题,你需要形成一种风格对不对?
For instance, you can see pottery, which used to have this, remember this largely unitary quality.
比如,你可以看到当时使用的陶器,风格非常的单一
You want to write the specs so that everybody does in fact know what this piece of code is doing, and you're writing it each time around.
但是你得养成良好的习惯和编程风格,你得撰写规范说明从而保证,每个人都知道这段代码是干什么的。
应用推荐