1 00:00:00,000 --> 00:00:00,060 2 00:00:00,060 --> 00:00:00,210 [VIDEO PLAYBACK] 3 00:00:00,210 --> 00:00:01,334 DAVID MALAN: --it familiar. 4 00:00:01,334 --> 00:00:04,547 Because here in week one, what we'll begin to do is to compare initially-- 5 00:00:04,547 --> 00:00:05,130 [END PLAYBACK] 6 00:00:05,130 --> 00:00:07,890 DAVID MALAN: So this is, I think, by far the greatest value 7 00:00:07,890 --> 00:00:11,730 of the bridge between Scratch and C, or really whatever language 8 00:00:11,730 --> 00:00:13,470 you're transitioning to after it. 9 00:00:13,470 --> 00:00:17,672 The ability, in this week, to now show left hand, right hand 10 00:00:17,672 --> 00:00:19,380 what Scratch looked like, some construct, 11 00:00:19,380 --> 00:00:22,792 and what the equivalent construct looks like in C, I think is really powerful. 12 00:00:22,792 --> 00:00:24,750 Especially when, if you were to put up, my god, 13 00:00:24,750 --> 00:00:28,427 like a for-loop syntax or a few-- or like the declaration of a function, 14 00:00:28,427 --> 00:00:29,510 it's just so overwhelming. 15 00:00:29,510 --> 00:00:31,300 DOUG LLOYD: If you just put up in the middle of nowhere, like? 16 00:00:31,300 --> 00:00:32,280 DAVID MALAN: Yeah, I think so. 17 00:00:32,280 --> 00:00:34,020 And then have to be like, oh, well, don't worry about 18 00:00:34,020 --> 00:00:37,170 the int, oh don't worry too much about those parentheses, oh my god, 19 00:00:37,170 --> 00:00:39,128 where's the curly brace symbol on the keyboard. 20 00:00:39,128 --> 00:00:41,670 I mean, there's so much distraction, and yet none of that 21 00:00:41,670 --> 00:00:44,753 has anything to do with the fundamental idea of what these constructs are. 22 00:00:44,753 --> 00:00:47,295 DOUG LLOYD: Even so, though, there is definitely some hand 23 00:00:47,295 --> 00:00:50,110 waving that we have to do early on to-- 24 00:00:50,110 --> 00:00:52,500 But I agree that having it side-by-side is, 25 00:00:52,500 --> 00:00:55,290 it's like, oh OK, like this concept of when green flag clicked, 26 00:00:55,290 --> 00:00:57,714 which students now know as Start, apparently 27 00:00:57,714 --> 00:00:59,130 that translates to int main(void). 28 00:00:59,130 --> 00:01:01,530 And, yeah, you don't know what int is, you don't know what void is right now, 29 00:01:01,530 --> 00:01:03,960 but we can say, like, just hold on for that for now. 30 00:01:03,960 --> 00:01:05,519 DAVID MALAN: Yeah, I mean the parentheses work, 31 00:01:05,519 --> 00:01:08,070 because they're kind of like the white box placeholders in some of the puzzle 32 00:01:08,070 --> 00:01:08,580 pieces. 33 00:01:08,580 --> 00:01:11,210 And even the curly braces actually do work, the symmetry of it. 34 00:01:11,210 --> 00:01:12,543 DOUG LLOYD: Sum up of the loops. 35 00:01:12,543 --> 00:01:13,919 DAVID MALAN: Yeah, exactly. 36 00:01:13,919 --> 00:01:15,960 But the rest is a bit of a distraction otherwise. 37 00:01:15,960 --> 00:01:17,760 But at least now, you know that, all right, 38 00:01:17,760 --> 00:01:21,100 even if I get a little lost today, it's still just like, hello world, 39 00:01:21,100 --> 00:01:21,600 on the left. 40 00:01:21,600 --> 00:01:23,070 It's still just Scratch ideas. 41 00:01:23,070 --> 00:01:23,962 DOUG LLOYD: Right. 42 00:01:23,962 --> 00:01:26,670 And we'll say this is not the last time that they'll see us doing 43 00:01:26,670 --> 00:01:28,020 something like this this semester. 44 00:01:28,020 --> 00:01:28,853 DAVID MALAN: No, no. 45 00:01:28,853 --> 00:01:32,010 I mean, in fact, we'll later on, use this to make the bridge from C 46 00:01:32,010 --> 00:01:35,310 to Python, from C to JavaScript. 47 00:01:35,310 --> 00:01:39,420 It's a nice, I think, approach no matter what the before and the after languages 48 00:01:39,420 --> 00:01:40,740 are. 49 00:01:40,740 --> 00:01:44,030 So long as there is a decent mapping between the two.