1 00:00:07,930 --> 00:00:10,130 Congratulations. 2 00:00:10,130 --> 00:00:12,735 You've picked up some valuable debugging skills. 3 00:00:12,735 --> 00:00:16,845 Remember your programs aren't going to work the first time and you shouldn't expect it, 4 00:00:16,845 --> 00:00:19,650 but with the debugging skills you've started to pick up, 5 00:00:19,650 --> 00:00:21,270 that won't be a problem for you. 6 00:00:21,270 --> 00:00:24,840 At this point, you should be able to distinguish between syntax, 7 00:00:24,840 --> 00:00:26,970 runtime, and semantic errors. 8 00:00:26,970 --> 00:00:30,060 You should be well on your way to developing a habit of looking at 9 00:00:30,060 --> 00:00:33,840 the error messages and developing a skill of interpreting them. 10 00:00:33,840 --> 00:00:36,540 Learn to love your error messages. 11 00:00:36,540 --> 00:00:40,260 You should be internalizing a mantra, 12 00:00:40,260 --> 00:00:42,765 get something working and keep it working. 13 00:00:42,765 --> 00:00:46,340 Celebrate the small wins and in order to celebrate the small wins, 14 00:00:46,340 --> 00:00:49,625 you first have to have those small wins, and finally, 15 00:00:49,625 --> 00:00:54,060 you should now be recognizing some common errors and how to fix them. 16 00:00:54,220 --> 00:00:58,770 So, today's joke. A manager, 17 00:00:58,770 --> 00:01:00,595 a mechanical engineer, and a programmer, 18 00:01:00,595 --> 00:01:03,020 they're driving back from a convention going over 19 00:01:03,020 --> 00:01:06,380 some mountain roads and suddenly the brakes fail. 20 00:01:06,380 --> 00:01:09,475 They fly their careening down the mountain. 21 00:01:09,475 --> 00:01:15,740 They're scraping against the guard rails and fortunately they finally stop in a ditch, 22 00:01:15,740 --> 00:01:17,225 to their great relief. 23 00:01:17,225 --> 00:01:20,000 All three of them they get out and they start to assess the damage. 24 00:01:20,000 --> 00:01:22,295 The manager says, "Let's collaborate, 25 00:01:22,295 --> 00:01:24,325 let's share our ideas, 26 00:01:24,325 --> 00:01:26,955 work together on this, and we can solve this issue." 27 00:01:26,955 --> 00:01:29,550 The mechanical engineer says, "Well, 28 00:01:29,550 --> 00:01:31,990 let's disassemble the whole car 29 00:01:31,990 --> 00:01:36,050 and we'll analyze each part for failure and figure out what went wrong." 30 00:01:36,050 --> 00:01:38,450 The programmer says, "Hey, 31 00:01:38,450 --> 00:01:40,550 why don't we just push the car back up 32 00:01:40,550 --> 00:01:45,355 the hill and go back down and see if it does it again." 33 00:01:45,355 --> 00:01:48,245 Now, don't be that kind of programmer. 34 00:01:48,245 --> 00:01:50,300 Be more like the mechanical engineer. 35 00:01:50,300 --> 00:01:53,075 Read the error messages, figure out what's wrong. 36 00:01:53,075 --> 00:01:58,620 Your life as a programmer will be a lot more pleasant. We'll see you next time.