Search for tag: "series"

Lesson 24.1 Strict Typing

Whenever we have enforced preconditions, we have always used the type function. In this video we show why that is a problem, particularly when we want to use an object argument that is a subclass of…

From  Hannah Lee on November 12th, 2020 23 plays

Lesson 18.1 List of Objects

Lists require that we explicitly show the folder when visualize them. In this video we show what that means when a list contains other objects that have their own folders. The result is a chain of…

From  Hannah Lee on October 27th, 2020 22 plays

Lesson 17.10 Recursion and Helper Functions

Divide-and-conquer is not the only example of recursion. It just happens to be one of the most interesting. But in this video we show that even some of the simplest of recursive definitions become…

From  Hannah Lee on October 19th, 2020 32 plays

Lesson 15.6 List Methods

Lists have many of the same methods as tuples. But since they are mutable, they have even more. In this video we show off some of the mutable methods of lists, which are methods that can alter the…

From  Hannah Lee on October 10th, 2020 14 plays

Lesson 13.1 Error Messages

Most of you have seen error messages already, working on the course assignments. But what do these error messages mean? As we seen in this video, we could not really talk about them until now because…

From  Hannah Lee on October 10th, 2020 11 plays

Lesson 12.5 Functions as Variables

If function definitions are objects, then that means we can compute with them like any other object. In this video we show what happens when we assign a function definition to a variable, or why we…

From  Hannah Lee on October 2nd, 2020 12 plays

Lesson 12.1 Objects Everywhere

The biggest lie that we have told is that there is a difference between classes and the basic types. In this video we show that this is not true, and what ramifications this has for Python.

From  Hannah Lee on October 2nd, 2020 10 plays

Lesson 11.4 Object Representation

We have said that objects are essentially folders? But the command line cannot display these folders using text. In this video, we talk about what the command line does show when we look at an object…

From  Hannah Lee on October 2nd, 2020 8 plays

Lesson 11.1 Objects and Classes

In this video we have to introduce some new terminology. We talk about classes, which are new types that are provided by modules (and therefore not built into Python). Objects are the values for…

From  Hannah Lee on October 2nd, 2020 8 plays

Lesson 9.8 Conditionals & Test Cases

Ideally, test cases should be designed from the specification and without reading the code. But once the code is written, we want to have proper code coverage, testing every single command in the…

From  Hannah Lee on September 24th, 2020 4 plays

Lesson 9.1 Program Flow

Most of our code has been what is known as “straight line code”, meaning that it is executed in the order that it is written. But not all code works this way. In this video, we talk about…

From  Hannah Lee on September 24th, 2020 5 plays

Lesson 8.1 Testing Plans

Before you start testing, you must have a testing plan. In this video we explain what these are, and how they fit into the software development process.

From  Hannah Lee on September 24th, 2020 8 plays

Lesson 7.1 Software Development

In this video, we talk about the business side of developing software and the challenges of working in teams. This video demonstrates why specifications are so important, and motivates the details in…

From  Hannah Lee on September 24th, 2020 5 plays

Lesson 1.5 String Expressions

Strings are the type for text data. We will go into much more depth with this type in a later module. In this video, we just introduce the basics to complete our overview of Python types.

From  Hannah Lee on September 4th, 2020 6 plays

Lesson 1.1 Evaluation

Before we get started with Python we need to define some basic terminology. Those math-like formula that we type into Python are called expressions. Python then uses the process of evalation to turn…

From  Hannah Lee on September 4th, 2020 14 plays