- 2

Pls explain metasyntactic variables clearly

11th Jul 2017, 6:12 PM
KirAbhishek
KirAbhishek - avatar
2 Answers
0
A metasyntactic variable is a meaningless word used as a placeholder in computer science, intended to be substituted by some objects pertaining to the context where it is used. The word foo as used in IETF Requests for Comments is a good example. https://en.wikipedia.org/wiki/Metasyntactic_variable
13th Jul 2017, 5:44 AM
J Prak
J Prak - avatar
- 1
it's really just a placeholder word in computer science. In older languages, 'foo' and 'bar' were used, where in python 'spam' and 'eggs' exist. It really has no more meaning than "Hello World". It's a familiar set of words used as a teaching aid to help you better understand what's happening.
11th Jul 2017, 9:24 PM
Sapphire