Penguin

Differences between version 10 and predecessor to the previous major change of HelloWorld.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 10 Last edited on Saturday, January 25, 2003 12:05:43 am by BartvanDeventer Revert
Older page: version 1 Last edited on Tuesday, September 10, 2002 2:32:58 am by GerwinVanDeSteeg Revert
@@ -15,9 +15,9 @@
  
 [C++] 
  #include <iostream> 
  void main(){ 
- cout << "Hello World" << endl; 
+ std:: cout << "Hello World" << endl; 
 
  
 Linux x86 AssemblyLanguage 
  .data 
@@ -38,21 +38,32 @@
  movl $0x1, %eax 
  xorl %ebx, %ebx 
  int $0x80 
  
+[Perl]:  
+ print join('', pack("V4", (0x6c6c6548,0x6f77206f,0xa646c72)));  
  
+[Python]:  
+ print "Hello World"  
+  
+[UserRPL]:  
+ << "Hello World" MSGBOX >>  
  
 Well yeah, I could go on and on for different programming languages but there would be too many to list here[1]. 
  
  
+----  
+Also see PolyGlot  
 ---- 
  
-__Footnotes__  
+Up there you see the problem with Hello World; most Hello Worlds look exactly like the Python one. It's not really meant as a sample program. What you learn from creating a Hello World program is how to use the language tools: it's a first exercise in entering, compiling and running a program on a paticular system, and it might make you go find the documentation on the I/O library in some cases. [99 Bottles of Beer on the Wall | http://99-bottles-of-beer.ls-la.net/] is slightly better for demonstrating the look of a language, [Ward Number |http://c2.com/cgi-bin/wiki?WardNumberInManyProgrammingLanguages] a lot better.  
  
-[1] In fact there are hundreds of programming languages.  
+-- GlynWebster  
  
+----  
  
+__Footnotes__  
  
-----  
-''Aborted effort.%%%  
-Close all that you have worked on.%%%  
-You ask far too much.''  
+[1] In fact there are hundreds of programming languages. [2]  
+[2] Thousands. (You haven't written your own yet? : -) [3]  
+[3] I 'm on my third at the moment .. >:-)[4]  
+[4] Footnote or programming language?