And two, to give you a better sense of design especially as your programs get a little more involved and they play or they run for more than just a few seconds time.
另一方面,使你们对设计更有感觉,尤其是你的程序要适用于更多的应用环境或,要运行不止几秒钟时间的时候。
since I'm more of the creative side like the design, the layouts,
我更倾向于设计,画图,
In other words, when you bite off your own project or when you start off by looking at someone else's projects, either that we looked at last week or some of the innumerable links we included in the specs, focus on just one piece of it, get that working, and then move on to the next.
换句话来说,当你开始着手去完成一件属于你自己的工程,或者,从参阅他人现在的作品,更或者是,参考工程设计书中,提到的无数链接,至关重要的一点是,你必须让它工作,然后再继续下一环节。
The answer is I can't. OK, in the simple case of integers I can, but in the case of something more complex like faces or fingerprints or passwords for that matter, it's hard to design a hash function that has completely even distribution, meaning that it takes any input into exactly one output spot.
答案是我不能,好吧,在简单的整数的例子中,我可以做到,但是在一些更复杂的场景中,比如面部,指纹,密码相关的问题中,很难设计一个哈希函数具备完全平均的分配,也就是说,做到对任一输入,可以准确地得到相应的唯一输出,因此在一个哈希问题中。
But with this example alone can you realize -- that with some more exercise of thoughts and intelligent-- I don't wanna say intelligent design here, intelligent design can you actually solve this problem so much more efficiently and just as correctly.
但通过这一例子,你们应该能认识到,通过更多的思维训练-,在这我并不想说智能设计,你就能真正更高效,准确地,解决问题。
So honestly, one of the best strategies in this course and in programming in general is-- generally speaking design, but it's these little tricks of the trade that will honestly make things much more fun, much more easier, and really allow you to focus on the juicy parts of the problem and not little tiny bugs that you may have started tripping over already.
说实在的,这堂课在编程方面最棒的策略之一,简而言之,就是--设计,但这只是一些让事情更简单,更容易的小技巧,让你专注于问题的核心关键,而不是一些可能让你绊倒的,这样或那样的小错误。
应用推荐