When you buy a drug, you scratch the panel, you send a text message with the number that you see, and you get a response instantly at the counter if the drug is genuine or fake."
VOA: standard.2010.06.07
Well, that program was interesting because it had an inventory which was implemented in Scratch with a list which is kind of like a container that you can add things to again and again.
那个程序很有趣,它有一个用Scratch做出来的清单,还有一个貌似容器的列表,你可以不断往里面加东西。
Take the fattest marking pen you have, scratch that out and replace it with atomic hydrogen.
用你最粗的笔把它划掉,再用氢原子代替它。
Let's actually put this into play with the little sprite known as scratch.
让我们把这个用到那个,我们熟知的小精灵当中。
In Scratch you may have realized that, "I could implement my program this way with these puzzle pieces, but it kind of feels -- like I could use these puzzle pieces instead" -- that's absolutely the case in programming.
在Scratch中你可能已经意识到,“我可以用这一段代码来,执行我的程序,不过这有点感觉到,我可以用这些代码段来代替“,那绝对是编程中的一个情况。
And you will see over time as you've seen with Scratch that there's going to be different ways to implement these various goals.
久而久之你们也将看到像你们在Scratch上看到的一样,它们有不同的方式,来实施不同的目的。
Well, what are some of the other constructs we're gonna have access to starting with scratch and see?
当我们开始用Scratch编程的时候,其他的一些指令是什么意思呢?
You're not going to start for the rest of your life if you ever need to solve a problem with a computer from scratch, odds are you're going to reach for some off the shelf packages or libraries or tools that other people wrote so that people like us don't have to reinvent the wheel again and again.
如果你想用Scratch来解决问题,却使用其他人写的程序,或者利用现成的资料或工具,这样以来,我们的确可以避免做重复性的工作,但却永远学不会编程。
But at the end of the day, the point of the slides is not to expect you to now go write programs in C but really to just remind you that, hey, if you ever get distracted from some of the minutia that is the semicolons, parentheses, and what is very new to many of you, it's really no different than the fun and games we implemented with Scratch last week.
但是最终,我们课件上讨论的主题,并不是让你现在就写一个C语言的程序,而是要告诉大家不要你被那些分号括号,还有一些从未见过的符号等一些细节搅得心烦意乱,因为它们本质上,和我们上周用Scratch做出来的游戏,并无区别。
应用推荐