Right. So similarly, if you've got one line of code with a semicolon at the end saying, this is the end of the statement, it doesn't really make sense to continue that conversation to try to continue conceptually that puzzle piece with curly braces.
对的,类似的,如果你得到了一行代码,后面有一个分号,标志语句的结尾,这就没有意义来继续,那个会话来尝试对那段代码,使用花括号。
You don't really puzzle your head about questions of interpretation, how we determine the validity of interpretation and so on, until A) meaning becomes terribly important to you, and B) the ascertainment of meaning becomes difficult.
你一般不会在诠释,和如何确定诠释的正确与否,这样的问题上纠结,除非:1,意义对你来说很重要,2,确定意义很困难。
Or maybe we shouldn't call it a puzzle at all.
或者也许我们根本不应该叫它困惑。
As an aside, if you ever just have one line of code that you want to execute, one puzzle piece in Scratch terminology, ; you actually don't need the curly braces; you only need the curly braces if you have two or more lines of code that you want to execute if that condition is true.
此外,如果你只有一行代码,需要执行,在Scratch,术语中叫做,一句代码,你就不需要使用花括号了;,如果那个条件成立,你有两行或更多行的代码时需要执行时,你就需要花括号。
Sure, there'd be some new particular puzzle you hadn't seen before, but you'd sort of step up a level and say, "Although I haven't seen this particular one before, I've seen crossword puzzles before.
当然肯定有你没见过的特殊填字游戏,但你会退一步说,“虽然我没见过这个特殊的填字游戏,但我见识过填字游戏。
- So now if Christiana doesn't actually -- if either programmer or who's programming these little puzzle pieces, don't actually do anything with this return value, and I call, get int, she wants to hand this piece of paper -- to me, but if I don't actually assign -- no, no, I just messed up the demo.
现在如果Christiana没有-,如果程序员或谁在编写这段代码,不要对这个返回值做任何事情,我调用GetInt,她把这张纸给我,但是如果我没有赋值-,不,不,我刚才把这个演示搞乱了。
应用推荐