noun
literal; literal constant
In computing, a value written directly in source code rather than being computed or stored in a variable. Often contrasted with named constants or variables.
プログラム中に直定数が多く含まれていると、保守が難しくなる。
If a program contains many literal constants, maintenance becomes difficult.
この関数は直定数として数値を受け取る。
This function receives a numeric value as a literal constant.
リテラル is the common loanword for 'literal' in programming contexts, often used interchangeably with 直定数, though 直定数 is a more formal Japanese term.
Compound of 直 (direct) and 定数 (constant), likely a calque from English 'literal constant' in computing terminology.