So one of the things I would like to suggest is that you develop some good style here, and in particular, don't change types arbitrarily.
所以我的建议是,你们要养成一些好的编程风格,尤其是,不要反复无常的改变变量的类型。
3 So here what I'm doing is 17 divided by 13, but because of this parenthetical, , -- because of that parenthetical -- that has nothing to do with math; -- this is a programming language thing -- that is a casting operation.
所以这里我要做的是用17除以,但因为这样的题外话,因为那样的题外话-,还是没有做完这个数学题;,这是一个编程语言的东西-,那是一个计算操作。
Pseudo code. Now, you're all linguistic majors, pseudo means false, this sounds like code that ain't going to run, and that's not the intent of the term. When I say pseudo code, what I mean is, I'm going to write a description of the steps, but not in a particular programming language.
伪代码,基于你们都是学语言的,伪代码意味着不正确,这听起来就像是没法运行的代码,这可不是我们学这个的目的,当我说到伪代码的时候,我的意思是要对步骤进行一个描述,而不是某种特定的编程语言。
I was deciding between political science at the time and computer science because I have always been fascinated by cities and at some point want to maybe potentially go into government I'm still not quite sure if I have more effect there or more effect in programming.
我那时要在政治学和,计算机科学,中做出选择,因为,我一直为城市着迷,我潜意识里有些想去政府工作,我并不确定我以后在,政治上更有成就还是在编程上更有成就。
But because we're now programming a computer at a lower level and because as we said last week, you really have to be precise and then careful to instruct this machine, this fairly dumb machine that will only do what you tell it to do very specific instructions, do we have to use a more precise syntax than just a puzzle piece might have previously allowed.
但是我们是要在电脑的低平台上编程不是吗?,那我们就要像我上周提到过的那样,一定要小心,小心,再小心地,操纵这台又聋又哑的机器,它只会根据你敲进去的,特定指令来做事,所以我们必须使用非常精细的语法,而不是模模糊糊,让人费解的概念。
应用推荐