entry point

The first file or function that runs when a program starts.

In more detail

A program usually has one entry point, such as a Main method or a main file, and everything else is reached from there. Checks that must happen before anything else, such as validating configuration, belong at the entry point.

Examples

C#: Main, or generated from top-level statements in Program.cs
dist/index.js is the compiled entry point in the runner stage.

Related terms

Taught in

References