Exact meaning of the "world" in "hello world"


 
Thread Tools Search this Thread
Top Forums Programming Exact meaning of the "world" in "hello world"
# 8  
Old 06-15-2012
world means programming space.
For C++ refer C++ Basics
# 9  
Old 06-15-2012
Quote:
Originally Posted by sumtaru
world means programming space.
For C++ refer C++ Basics
No. that context is not true in the case of "Hello World" context. ....

"Hello World" means "Hello, I'm Here" no different than when a baby is born in to the world, and if it could talk, it would say "Hello World!" meaning "I'm Here Everybody!" "I Am Alive" & and "I Am Working".

This is because "Hello World" is consider a "baby step" in programming. It is considered the "first baby step", where someone actually writes a software program and prints out a string. It could be "Hi Me" or "Yea Me!" or anything; but because it was first "Hello World"... that is the custom/tradition.

So, it really means "Yea Me. I Took a Baby Step in the Programming Language. Hello World."

This is how I have always viewed Hello World.
# 10  
Old 06-24-2012
In my own opinion, the ubiquitous 'Hello, world!' program; which I tend to write every single time I wish to test out any 'new' programming language that I'm interested in learning; as, basically, it proves 4 absolutely essential things...

1> I've downloaded/installed/set up the programming language/environment, correctly
2> I know how to interact with the editor in order to be able to 'write' programs
3> I know how to 'RUN' the program
4> I know how to 'view' the programs output effect

...all of which the 'beginner' programmer really needs to know; before they are ever going to learn to move on to do more advanced coding.

Whether I write it as...

BASIC/QBASIC
Code:
PRINT "Hello, world!"

Python
Code:
print "Hello, world!"

Javascript
Code:
document.write("Hello, world!");

Java
Code:
System.out.println("Hello, world!");

Pascal
Code:
Writeln('Hello, world!');

DOS Batch file
Code:
 ECHO "Hello, world!"

HTML
Code:
<body>Hello, world!</body>

-etc.

...and, in this particular context, it doesn't really have any 'specific' meaning at all; most certainly, the program isn't meant to be talking to anybody else; but, myself.
>>>
In the popular program's "hello world" greeting, what meaning the "world" has: "all", "everybody", "people", "friends" or "whole world", "planet", "Earth", "Universe"?
<<<
...thus, it could actually mean 'all' of those things which you've already gone and mentioned above; or, it could even mean, simply, 'Hello, to oneself!'
I think, it's true meaning is, toss out a few utterly 'meaningless' characters/or, phrase onto the output screen to test if the program is working/or, not...?!
You could just as easily have written your test program as being...

BASIC/QBASIC
Code:
PRINT 0

...or,...
BASIC/QBASIC
Code:
PRINT 1+1

...there's no, quite truly, sensible meaning to it in terms of speech; no more than the 2 lines of code above do have any real meaning in terms of presenting a serious mathematical problem to be solved; the program's intention is merely to produce some quick throw away 'test' output; that's it!

---------- Post updated at 01:46 PM ---------- Previous update was at 01:35 PM ----------

Purely, as a matter of general conventional practice, alone; programmer's tend to use, "Hello, world!" as being the very 1st program that they choose to type in. I guess, it's the same thing as when people use the nonsense term: foo/bar; to represent variable names.

Last edited by pramgoat; 06-24-2012 at 10:20 AM..
# 11  
Old 06-28-2012
meh, its overrated, I always used 'print myname' instead Smilie
# 12  
Old 06-28-2012
I love that this is a thoroughly discussed subject on this forum.
# 13  
Old 06-29-2012
Quote:
Originally Posted by MoreCowbell
I love that this is a thoroughly discussed subject on this forum.
me too.
as a code optimization technique, I propose in future we use simple 'Hi!' instead.
# 14  
Old 07-17-2012
This is an interesting question. I am also eager to know why the word "World" is chosen here and not "User" or "Programmer" or "Everybody" Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

2. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

3. Post Here to Contact Site Administrators and Moderators

Comments on "How Will the World End?"

I have read the sun-expansion scenario numerous places but I've never read any suggestion that the earth's orbit would increase to avoid being scorched. What mechanism would push it out? As for creating a black hole by the LHC, the whole concept is silly so any number of reasons would rule it... (9 Replies)
Discussion started by: KenJackson
9 Replies

4. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

5. Shell Programming and Scripting

Meaning of "b" modifier in "sort" command

I need to sort the following file by the rhdiskpower devices in the last column: Total_MB Free_MB OS_MB Name Failgroup Library Label UDID Product Redund Path 1024 851 1024 OCRVOT1_0000 OCRVOT1_0000 System UNKNOWN ... (3 Replies)
Discussion started by: wjssj
3 Replies

6. UNIX for Dummies Questions & Answers

the meaning of "!:*" in "alias foo 'command\!:*' filename"

Hi: How can I remove my own post? Thanks. (2 Replies)
Discussion started by: phil518
2 Replies

7. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

8. Programming

Couldn't compile the simple "Hello World"

So, this is my first C++ program under linux. My OS is Red Hat 8.0, and my codes are like following: $vi hello.cpp #include <iostream> using namespace std; int main() { cout << "Hello World!" << endl; return 0; } $ g++ -o hello hello.cpp the error message are: ... (3 Replies)
Discussion started by: HOUSCOUS
3 Replies
Login or Register to Ask a Question