I want to talk a little bit about how you use the things we've been building in terms of functions to help you structure and organize your code.
第一件事情就是我要谈下,怎么利用我们,所做的能在方法方面,帮助你们组织和优化代码。
Right, so how do you use the idea of functions to organize code?
好,你们是怎么利用方法,来组织代码的呢?
OK, so how can I code this up? Well, you might think, let's just jump in and write some code, I don't want to quite do that though, because I want to show you another tool that's valuable for thinking about how to structure the code, and that is a something called a flow chart. Now.
好,那么我怎么把这个以代码实现呢,你可能会想,让我们进去直接写代码把,但是我不想这么做,因为我想教给大家另外一项很有价值的,用来组织代码的工具,叫做流程图,现在,像Guttag教授,和我这么大岁数的人。
应用推荐