Python for Absolute Beginners Transcripts
Chapter: Problem solving techniques for writing software
Lecture: Getting started when you're lost
0:00 One of the first realizations you're going
0:02 to run into when you start programming is
0:04 you'll have learned some of the language
0:07 features and some of those techniques.
0:09 For example, you'll be able to loop over a list
0:11 using a for in loop or create a string or
0:14 do simple math or work with a list
0:16 those types of things.
0:17 And you'll be able to practice those and so on.
0:20 But when you sit down to actually write a program
0:22 that accomplishes something meaningful
0:25 something useful, it can feel much like Microsoft
0:28 Word with a blinking cursor and just a white
0:30 screen staring back at you when it's time
0:32 to write that term paper or something like that.
0:34 It's challenging. How do you start?
0:37 How do you break this up and just get going?
0:38 So that's what this chapter is all about.
0:41 If you're getting started and you're feeling
0:43 a little bit stuck or you're not sure which way to go
0:46 I'm going to give you a bunch of ways
0:48 to think about the problem
0:50 ways and techniques to decide what data structures
0:54 to use or how to break up your code or
0:56 your ideas into functions or steps
0:58 and also a few other things as well.
1:00 So, in this chapter we're going to build
1:02 a new game from scratch.
1:04 We've had a lot of fun with rock paper scissors
1:06 and don't worry we're going to come back to it.
1:08 We're going to do bunch of more cool things
1:09 with rock paper scissors.
1:11 I don't think it makes sense to do something as
1:13 a continuation when we talk about problem solving.
1:15 No, what we need to is start from absolute scratch
1:18 from buy new project, blank file
1:21 what do you do now, here's what you want to build.
1:24 So what I'm going to do, I'm going to give you some advice
1:26 and give you some techniques
1:28 and then we're just going to go and build a game
1:30 and we're going to kind of fumble around through
1:32 the creation of it together
1:34 and I thought it would be a good place to start
1:37 and I'll try to leave mistakes if I make any or ideas.
1:40 I'll try to talk about why I decided to go one
1:43 way or another or alternatives and so on.
1:45 And, yeah, I think you'll get a lot out of this one.
1:47 I've seen something built from scratch and
1:49 thinking through the problem.
1:50 Not going to be hugely complicated because, well
1:53 we don't want to spend hours and hours on it
1:55 but it will be complicated enough that it
1:57 might not be entirely obvious how to do it.