Programming fundamentals

Understand state, data types, scope, and how to trace a program when its output surprises you.

Beginner

Intermediate

Evaluate a machine learning model

Use a trustworthy baseline, keep evaluation data independent, and understand a model’s errors.

Intermediate 14 min

Model Android UI state

Give a Compose screen explicit loading, content and error states.

Intermediate 13 min

Model SwiftUI screen state

Decide where user-editable screen state belongs and reflect its changes in SwiftUI.

Intermediate 13 min

Unicode and UTF-8

Unicode identifies text characters, while UTF-8 defines how their values are encoded as bytes.

Intermediate 8 min

Value copies and shared references

Two variables can refer to the same object, so a change through one name can appear through the other.

Intermediate 8 min

The call stack

The call stack remembers which function should continue after the current function returns.

Intermediate 8 min

Floating-point precision

Floating-point numbers represent many decimals approximately rather than exactly.

Intermediate 8 min

SQL joins and missing rows

A join combines rows by comparing fields such as an ID and a matching foreign key.

Intermediate 8 min

Database indexes

An index helps the database find matching rows without checking the entire table.

Intermediate 8 min

API resources and status codes

An API gives callers a predictable way to request or change information.

Intermediate 8 min

Caching and stale data

A cache keeps a reusable result so the next request can avoid repeating the original work.

Intermediate 8 min

Training data, validation, and leakage

A data split keeps some examples separate so you can measure how well a model handles new data.

Intermediate 8 min

Advanced