Skip to main content

If Statements

Making Your Code Choose

· 3 min read

In the previous unit, we covered operators and boolean logic. Those comparisons that return True or False? Now we put them to work. Conditional statements let your program make decisions based on those boolean results.

If Statements

Operators and Boolean Logic

Making Decisions with Math and Logic

· 3 min read

In the previous unit, we covered variables and data types. Now let's look at what you can actually do with those values. Operators are how Python performs calculations and makes comparisons. They're the verbs of programming.

Operators and Boolean Logic

Variables and Data Types

Storing Information in Python

· 4 min read

In the previous unit, we set up Python and drew our first shapes with Turtle. Now it's time to understand how Python stores information. Variables and data types are the building blocks of every program you'll write.

Variables and Data Types

Learning Python from Scratch

A Visual Approach with Turtle Graphics

· 6 min read

When I set out to teach my kids programming, I wanted something different from the typical "Hello World" progression. I wanted them to see what their code was doing, immediately, on screen. That's what led me to Python's Turtle library.

Turtle gives you a little cursor that you can move around the screen with code. Tell it to go forward, turn left, change colors. The feedback is instant and visual. For someone just starting out, that connection between typing code and seeing something happen is everything.

This course grew out of that experience. It starts with the absolute basics (what even is programming?) and builds through thirty-four units to a working Snake game. Each unit has theory, code examples, and a mini project. The projects all use Turtle, so you're building something visual every step of the way.

Learning Python from Scratch

Date Formatting with Day.js

A Lightweight Library for TypeScript Projects

· 3 min read

Date handling is one of those things that seems simple until it isn't. I've been using Day.js on a few TypeScript projects lately, and it's become my go-to for anything date-related. At around 2KB gzipped, it's tiny compared to alternatives, and the API is clean enough that I rarely need to check the docs.

Date Formatting with Day.js

API Security and Best Practices

Status Codes, Authentication, and Design Patterns

· 4 min read

In the previous posts, I covered what REST is and how resources and methods work. Now let's look at what makes an API robust: status codes that communicate clearly, security that protects your data, and design patterns that keep things maintainable. These are the things I wish I'd understood better when I started building APIs.

API Security and Best Practices

What REST Is and Why It Won

The Architecture Behind Modern APIs

· 3 min read

I've been working with APIs for years, but I recently went back to understand REST from first principles. When you use a weather app to check the forecast, something interesting happens behind the scenes. The app sends a request to a server, the server fetches the data, and it sends back the forecast for your location. This exchange happens through an API, a set of rules that lets software applications talk to each other.

That sounds simple enough. But how do the client and server actually communicate? Many standards have been proposed over the years, but REST emerged as the dominant approach for building networked applications. I wanted to understand why.

What REST Is