PLDB
Languages Features Creators Calendar CSV Resources Blog About Donate Add Language
GitHub icon

Variable Substitution Syntax

< >
Example from Bash:
STR="Hello World!" echo $STR
Example from Makefile:
objects = program.o foo.o utils.o $(objects)

Languages with Variable Substitution Syntax include Bash, Makefile

Languages without Variable Substitution Syntax include Java, JavaScript, C, Python, C++, Ruby, Swift, Kotlin, TypeScript, Objective-C, CoffeeScript, Cython, C3, Pizza, Grammar, Deesel, Tick C, cooC, Real-Time Concurrent C, Static Typescript

This question asks: Do you use different syntax when assigning versus referencing a variable?

HTML of this page generated by Features.ts

hasValueReturnedFunctions.html 路 hasVariableSubstitutionSyntax.html 路 hasVariadicFunctions.html

View source

PLDB - Build the next great programming language Search v2023 Day 157 Docs Acknowledgements Traffic Today Traffic Trends Mirrors GitHub feedback@pldb.com