source file

Uncompiled program text

A source file contains the original, human-readable code that programmers write before it gets compiled or processed into executable form.

The term emphasizes that this is where the code originates—the source—as opposed to the binary or object files a computer actually runs: Make sure you commit the source files, not just the build output.

Source files use extensions indicating their language: .py for Python, .java for Java, .c for C.

Related
  • codeSymbolic communication system
  • compilerSource-to-machine-code translator
  • headerTop line of document
  • moduleIndependent functional component
  • scriptWritten words for performance

repository · pull request · editor · syntax · debug · version control · raw · line number · origin · input · text · programming · original · uncompiled · dependency · import · library · trunk

Categories
Opposites
compilation state

source fileexecutable

Directly runnable program file

binary file · compiled code · machine code · binary · object code

derivation relationship

source fileoutput file

Generated data destination

Family

source, file, sources, sourced, sourcing, files, filed, filing, filer

Familiarity
Top 500,000
Profile
Used worldwide · Timeless · Concrete · Rated G