Definition - What does Metasyntactic Variable mean?
A metasyntactic variable is a type of variable used by application developers as a placeholder name or alias term. It is unlike more commonly used logical variables and may contain any symbol or word that does not violate the rules of the language, although most metasyntactic variables are nonsensical words selected for uniqueness.
Techopedia explains Metasyntactic Variable
Variable name creation is challenging, especially for programmers who teach specific programming language syntax or algorithms. Metasyntactic variable naming is used a temporary solution that provides greater clarity than random letters or words. The following are examples of common metasyntactic variables: MIT/Stanford: foo, bar, baz, guux CMU: foo, bar, thud, grunt Python programmers: spam, ham eggs Common in England: o oogle, foogle, boogle o zork, gork, bork Of all metasyntactic variables, "foo" is the most common.
"Techopedia" on Twitter
Sign up for Techopedia's Free Newsletter!
Join thousands of others with our weekly newsletter
Free Whitepaper: The Path to Hybrid Cloud:
The Path to Hybrid Cloud: Intelligent Bursting To Amazon Web Services & Microsoft Azure
Free E-Book: Public Cloud Guide:
This white paper is for leaders of Operations, Engineering, or Infrastructure teams who are creating or executing an IT roadmap.
Free Tool: Virtual Health Monitor:
Virtual Health Monitor is a free virtualization monitoring and reporting tool for VMware, Hyper-V, RHEV, and XenServer environments.
Free 30 Day Trial – Turbonomic:
Turbonomic delivers an autonomic platform where virtual and cloud environments self-manage in real-time to assure application performance.