What is Hello World? - Definition from WhatIs.com
Part of the Programming glossary:

Hello World is a simple program that, when run, displays the message: Hello World . Fittingly, the Hello World program has long been the new programmer's induction into a myriad of programming languages. A project at the Association for Computing Machinery (ACM) of Louisiana Tech collected all the Hello World program examples they could find -- and discovered 204.

Here's what the Hello World program looks like in Pascal :

   program Hello;
   begin     (* Main *)
      writeln ('Hello, world!')
   end.      (* Main *)
The output should look like: Hello, world!

No one knows exactly why Hello World has stood the test of time so well. The most likely historical explanation is simply that a short program like Hello World once allowed the programmer to make sure that a language's compiler , development environment, and run-time environment were correctly installed. Because this involved a lot of work, a very simple program was used first to test things out. According to Wikipedia, the tradition of using the phrase "Hello, world" as the test message was influenced by an example program in the book "The C Programming Language", by Brian Kernighan and Dennis Ritchie.

This was last updated in September 2005
Contributor(s): FOG
Posted by: Margaret Rouse

Related Terms

Definitions

  • middleware

    - Middleware is a general term for software that connects separate, often complex, applications together. (SearchSOA.com)

  • alphanumeric (alphameric)

    - In computers designed for English language users, alphanumeric (sometimes seen as alphameric) characters are those comprised by the combined set of the 26 alphabetic characters, A to Z, and the 10 ... (WhatIs.com)

  • MATLAB

    - MATLAB is a fourth-generation programming language and numerical analysis environment used for matrix calculations, developing and running algorithms, creating user interfaces (UI) and data visuali... (WhatIs.com)

Glossaries

  • Programming

    - Terms related to software programming, including definitions about programming languages and words and phrases about software design, coding, testing and debugging.

  • Internet applications

    - This WhatIs.com glossary contains terms related to Internet applications, including definitions about Software as a Service (SaaS) delivery models and words and phrases about web sites, e-commerce ...

Tech TalkComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.