RFC 3092: Official Etymology and History of Programming Metasyntactic Variables "Foo", "Bar", and "Foobar"
By
ipnon
Fresh out the oven, still warm. Top of the tray.
Summary
This RFC (Request for Comments) document provides the official etymology and history of the metasyntactic variables 'foo', 'bar', and 'foobar' commonly used in programming and technical documentation. It traces their origins from military slang (FUBAR) through comic strips (Smokey Stover) to their widespread adoption in technical documentation, particularly in RFCs. The document serves as an informational reference to explain these placeholder terms that have appeared in hundreds of RFCs without proper definition.
Key quotes
· 5 pulledApproximately 212 RFCs so far, starting with RFC 269, contain the terms 'foo', 'bar', or 'foobar' as metasyntactic variables without any proper explanation or definition.
This document rectifies that deficiency.
This memo provides information for the Internet community.
The terms 'foo', 'bar', and 'foobar' are used as metasyntactic variables in computer programming and related technical documentation.
The etymology of 'foo' and related terms traces back to military slang, comic strips, and technical documentation practices.
You might also wanna read
Seven Common Mistakes in System Architecture Diagrams and How to Fix Them
This article identifies seven common mistakes in system architecture diagrams and provides guidance on how to avoid them. It covers issues l
The Challenge of Documenting Engineering Decision Rationale
The article discusses the challenge of documenting the reasoning behind engineering decisions, not just the technical implementation. It des
Guide to Running Alibaba's Qwen3.5 LLMs Locally with Unsloth
This article provides documentation on how to run Alibaba's Qwen3.5 large language models locally using Unsloth. It covers various model siz
RELAX NG: XML Schema Language Documentation and Technical Reference
RELAX NG is a schema language for XML developed as an international standard (ISO/IEC 19757-2) by OASIS and ISO/IEC. The article provides co
Guide to Fine-Tuning Qwen3.5 Large Language Models with Unsloth
This article is a technical guide from Unsloth documentation explaining how to fine-tune Qwen3.5 large language models using their platform.
Personal Journey: Learning and Documenting SDF Font Rendering Techniques
The author shares their personal journey of learning about SDF (signed distance field) font rendering in 2024 while working on a game and ma
