我们用一个怪异的人工智能语言写软件,语法难看,充斥着括号。
We wrote our software in a weird AI language, with a bizarre syntax full of parentheses.
当在另一个标记的属性中调用方法时,大括号表示法(正式名称为表达式语言或el语法)更合适。
The curly-brace notation (formally known as Expression Language or EL syntax) is better suited for times when the method call is embedded in another tag's attributes.
我建议你采用这样的折中的方法:列出你常用的语言,但括号中标出熟悉的程度。
I recommend the following compromise: list most languages you've used, but add your experience level This approach is shown below.
But to translate this now to a language C, you've got some curly braces, you got an if, some parentheses, but now we're just building on some of the syntax we introduced before.
如果把它转换成C语言,你又会看到一些大括号啊,if啊,圆括号啊等等,我们只是借助,之前学过的语法规则。
The curly braces are then the C's way of kind of making a puzzle piece that looks like this so you can put stuff inside.
花括号是C语言的一个方式,用来做一个像这样的程序块,所以你可以把代码写在里面。
And I don't quite remember from reading or from class how big these things are, well, it turns out -- and this is sometimes useful, later on more likely than now -- but C has a size of operator that takes an argument in parenthesis and it will tell you how much space is used to store that particular data type.
我不太记得类中的这些类型,是多大的,嗯,结果是--这个在以后比现在,可能是更有用的--不过C语言中有个sizeof的操作符,其中括号里有一个参数,它会告诉我们,要存储一个类型的数据,需要占用多大空间。
应用推荐