Underscore
The concept of an underscore (_), also known as an underline, is a character that appears at the bottom of the space that would be occupied by a letter or a number. It is commonly used in computing and typography for various purposes. The underscore has a rich history and a variety of uses in different contexts, ranging from programming languages to social media.
History[edit | edit source]
The underscore character originated from the typewriter era. It was used to underline words for emphasis. Typists would type a word, backspace, and then underscore each letter to achieve this effect. With the advent of digital text processing, the need for manual underlining was eliminated, but the underscore character found new roles in the digital world.
Uses[edit | edit source]
Programming[edit | edit source]
In computer programming, the underscore is often used in variable names, especially in languages that do not allow spaces in identifiers. For example, a variable name "user_name" is more readable than "username" or "UserName" in certain contexts. It is also used in special methods in languages like Python, where methods like `__init__` have a specific meaning to the interpreter.
File Naming[edit | edit source]
In file systems that do not support spaces in file names, underscores are commonly used as a substitute for spaces. For example, "my_document.txt" instead of "my document.txt".
Social Media[edit | edit source]
On social media platforms, underscores are frequently used in usernames, where spaces are not allowed. For example, a user might choose the handle "john_doe" instead of "JohnDoe".
Markdown and Wikitext[edit | edit source]
In Markdown and Wikitext, underscores are used for formatting text. For example, wrapping a word in underscores will italicize it, making it _italic_.
Typography[edit | edit source]
In typography, the underscore is used less frequently for its original purpose of underlining text, as text processors and word editors now provide more straightforward methods for text emphasis, such as bold and italic formatting. However, it still finds its place in certain stylistic choices and specific contexts.
Accessibility[edit | edit source]
The use of underscores in digital content has implications for accessibility. Screen readers and other assistive technologies may interpret underscores differently, potentially affecting the readability of information for users with visual impairments. It is essential to consider these aspects when designing digital content.
Conclusion[edit | edit source]
The underscore is a versatile character that has adapted to various roles in the digital age. From its origins on the typewriter to its current uses in programming, file naming, and social media, the underscore exemplifies how digital practices evolve and repurpose traditional elements for new needs.
Underscore Resources | |
---|---|
|
Search WikiMD
Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD
WikiMD's Wellness Encyclopedia |
Let Food Be Thy Medicine Medicine Thy Food - Hippocrates |
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian
Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.
Contributors: Prab R. Tumpati, MD