maxdraco

Source code

The human-readable instructions a program is written in, before it is turned into something a computer runs.

Concept Programming and AI

Source code is a program as its authors wrote it: text in a programming language that people can read and change. It is turned into the files a computer actually runs. When the source is public, as with open-source software, anyone can read exactly what a program does instead of trusting its description, and comments in it often explain why it does it.

See also

  • Open source Software whose source code anyone may read, change and share.
  • Git Free software that records every change to a set of files, used to keep the history of most software projects.
  • Page source (view-source) The raw HTML code a web page is built from, which any browser can show.
  • AI Artificial intelligence: software that performs tasks usually thought to need human judgement.
  • API A defined way for one program to ask another for data or actions.
  • Endpoint (route) One specific address on a web service that a program can call to do one job.
  • Environment variable A named setting a running program inherits from whatever started it.
  • Exit code The number a program hands back when it finishes: zero for success, anything else for failure.

Sources

  1. The Open Source DefinitionOpen Source Initiativeofficial healthy, checked 2026-11-15 archived copy
  2. Source codeWikipedia healthy, checked 2026-11-15 archived copy