Alright, we are back so we just wrote a programming pseudocode or walk through a programming pseudocode.
继续上课,刚才我们只写了一个伪代码,或者说简单地过了一下。
This is what's written in what we'll generally call pseudocode.
而是用伪码写的。
Pseudocode is kind of an English-like syntax that's just a useful way of expressing yourself fairly succinctly, fairly computer-like but without having to worry about stupid details like whether it's Java or C or whatever.
伪码是一种类似英语的语法,可以简洁地,表达自己的意思,它与电脑类似,但是你不用担心那些愚蠢的细节,比如Java,C语言或者其他什么语言。
And then on the right hand side I++, we saw that in pseudocode with our socks example last week that just says increment I.
然后是最右边的i++,我们上周在socks例子的伪代码中,曾经见到过,不是么?只是代表i加1而已。
Last week we did the socks thing and that was in pseudocode.
上周我们写了一个socks程序,但那只是伪代码。
应用推荐