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

  • Java Champion

    - The Java Champion designation is awarded to leaders and visionaries in the Java technology community. (SearchSOA.com)

  • application program interface (API)

    - An application program interface (API) is code that allows two software programs to communicate with each other. Typically, APIs are released for third-party development as part of a software devel... (SearchExchange.com)

  • algorithm

    - An algorithm (pronounced AL-go-rith-um) is a procedure or formula for solving a problem. (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 ...

Ask a Question. Find an Answer.Powered by ITKnowledgeExchange.com

Ask An IT Question

Get answers from your peers on your most technical challenges

Ask Question

Tech TalkComment

Share
Comments

    Results

    Contribute to the conversation

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