So now, henceforth, when you say, to declare a function, I am declaring a function here but down here am I quote unquote defining it or implementing it.
从此以后,当你说,声明一个函数,我在这里声明了一个函数,但是到这里我定义它或执行它。
I don't want to spend the whole weekend implementing just a little pop up calendar and frankly it probably would take at least that long to get something that's as interactive and dynamic as something like this that works across all browsers and so forth.
我并不想花费整个周末的时间来实现,这样一个小的弹出式日历,而且,可能至少还要花那么多时间,从而使它,能够在所有浏览器上都能有良好的交互性并且是,动态的,等等。
And then I'm going to just return the bigger of the two. Little bit complicated, but it's basically just implementing this decision tree.
我会计算总价值,然后我会返回两者中的较大值,有点小复杂,但是它就是按照这个决策树在运行。
So when it comes time to implementing your own software, ask yourselves these questions.
当你开始实现你自己的软件时,向你们自己问问这些问题。
And odds are if a week hence, two weeks hence just for fun you decide to reimplement your Scratch project -- or some tiny piece of it, it wouldn't be surprising -- or shouldn't be -- if you end of implementing the same game or animation or whatever using a completely different set of puzzle pieces Same deal we'd see here.
可能一周之后,两周之后,为了好玩,你决定重新实现你的Scrtch工程,或者其中一小部分,它将不会是令人惊讶的-,本来也不应该是--如果你运行相同的游戏,或者是动画,亦或是用完全不同的设置,来运行拼图游戏,我们将看到相同的处理。
应用推荐