"Hello World!" ... one of the first programming scripts ... Why?
-
"Hello World!" is used as one of the first programming scripts a programmer is taught to write in any programming language. WHY?
-
Answer:
Well it's very simple, it shows you very minor syntax and shows how to create output. It also has been used since the first programming languages. It's more about tradition than anything else.
KAT« at Yahoo! Answers Visit the source
Other answers
Hi, Actually it does have a historical background. When Kernigan and Ritchie were seeking a suitable language to design the UNIX operating system they could not find anything suitable for the task. They began writing a new language and hence was born C. Dennis Ritchie was supposed to have used 'hello world' as a test. Now whether that latter part is true I can't profess to know but one thing is for sure is that the first time it was introduced was in their famous book 'The C Programming Language' and the rest really is history! Regards.
It's just a simple statement which has gained popularity.
Ciricus
It was a polite way from a machine to enter the World for the first time, and it was the first time a "machine" "talked" to us.
just "JR"
its a little ironic
Pre-med?
A "hello world" program has become the traditional first program that many people learn. In general, it is simple enough that people who have no previous experience with computer programming can easily understand it, especially with the guidance of a teacher or a written guide. Using this simple program as a basis, computer science principles or elements of a specific programming language can be explained to novice programmers. Experienced programmers learning new languages can also gain a lot of information about a given language's syntax and structure from a hello world program. So, if you cam learn it in computer language, you might see a similarity in another.
wildecat1
Simply put, the first order of business in dealing with a computer is communication. We have to know what the computer is doing as well as telling it what to do. Thus the first program gives us our first taste of computer output. Thus Hello World! has been adapted to most programming languages as a practical way to tell us how to get the computer to give us output.
jplatt39
It's typically used to demonstrate the basics of a programming language if the example actually prints out 'Hello World' to the screen, it effectively teaches the user how to print out strings for debugging, among other things.
Purple Moogle
Brian Kernighan, in an internal memo titled "Programming in C: A Tutorial" at Bell Laboratories, included it as an example program. It later appeared in the book, "The C Programming Language" written by Brian Kernighan and Dennis Ritchie.
meat
From wikipedia "A "hello world" program has become the traditional first program that many people learn. In general, it is simple enough that people who have no previous experience with computer programming can easily understand it, especially with the guidance of a teacher or a written guide. Using this simple program as a basis, computer science principles or elements of a specific programming language can be explained to novice programmers. Experienced programmers learning new languages can also gain a lot of information about a given language's syntax and structure from a hello world program."
Toxin
Related Q & A:
- How to combine two scripts into one?Best solution by Super User
- Who among the people in the world can prove that we came from an abiotic component and not a living one?Best solution by Yahoo! Answers
- Is computer programming useful in the business world?Best solution by Quora
- Which was the first University established in the World?Best solution by Yahoo! Answers
- What World Cup do you think was the best one and the worst one ever?Best solution by Quora
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.