Measures Concepts
GitHub icon

Variable Substitution Syntax

Variable Substitution Syntax - language feature

< >
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, Python, C, C++, Ruby, Swift, Kotlin, TypeScript, Objective-C, CoffeeScript, Cython, C3, Pizza, Grammar, Oracle Java, Deesel, Tick C

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

HTML of this page generated by Features.ts

View source

- Build the next great programming language Search Add Language Features Creators Resources About Blog Acknowledgements Queries Stats Sponsor Day 605 feedback@pldb.io Logout