Why do I have braces and wear glasses?
为什么我要系上背带戴上眼镜?
I used to have to wear braces.
我以前不得不戴牙箍。
There is some stupid syntax, like curly braces and semicolons, that initially is kind of annoying because you have to remember where all this goes.
有一些愚蠢的语法,像花括号和分号,一开始是有点烦人的,因为你必须记住所有的这些要放到哪里。
So let me challenge you with this: inside of these curly braces where I have put a comment with slash slash -- a "comment" means nothing here gets compiled, it's just for the human to read.
让我用这个来挑战你们:,在这些花括号里面,我通过双斜杠写入了一个注释,-一条“注释“在这里不会被编译,它只是用来我们阅读的。
So when you define a function, you have, as we've seen these curly braces, that define all ; of the code that's associated with that function; open curly brace code, close curly brace, that is the function.
当你定义一个函数,就像我们看到的这些花括号,定义了与,那个函数相关的所有代码;,左花括号,代码,右花括号,这就是一个函数。
So we have if, and that is followed by, I'm going to use angle braces here just to indicates something goes in here, some test followed by a colon.
那么我写了if,后面跟着,我这里会用一个角括号,来代表这里有些东西,冒号后面跟着一些测试。
应用推荐