这个过程可以用不同的编程风格来完成。
什么是带注释的方法编程风格?
第一个就是我们所看到的更加声明式的编程风格。
The first one being this move that we see toward more declarative styles of programming.
Well, my usual style of programming would be to implement the one that's lowest down in the hierarchy near the bottom.
一般我的编程风格是,先构建等级中最低的东西,也就是靠近地层的东西。
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.
所以我的建议是,你们要养成一些好的编程风格,尤其是,不要反复无常的改变变量的类型。
As a matter of convention and good style which is another theme of the course that we'll focus more - on on Friday onward, it's generally good to-- good style to actually describe in English even succinct English, what your program is doing.
大家要养成一个良好的编程习惯,这是本课程另一个重要的中心思想,我会在本周五还有以后的课堂时间着重强调这个问题-,用简明扼要的语言,描述你的程序,是一种很好的编程风格。
应用推荐