Page 1 of 1
Hello World in different languages !!!
Posted: Thu Jan 26, 2006 6:54 pm
by josku_x
Hello!
Looking through some articles on wikipedia, I bombed to this one:
http://en.wikipedia.org/wiki/Hello_worl ... _languages
WOW

Some of those are so weird to understand... Even GameMaker is easier
Say, have you seen such crazy mini-madness?
Posted: Thu Jan 26, 2006 7:12 pm
by thefool
Posted: Thu Jan 26, 2006 8:11 pm
by flaith
Posted: Thu Jan 26, 2006 9:24 pm
by Trond
Has anyone ever tried to make something useful in Malbolge?
Posted: Thu Jan 26, 2006 9:40 pm
by Rescator
Hello World! In English:
Hello world!
That proves English is the most simple programming language there is.

Posted: Thu Jan 26, 2006 9:43 pm
by Rescator
Actualy, PHP is that simple!
Make a .php file call it hello.php
Then enter this in it:
Run the script!

Posted: Thu Jan 26, 2006 10:59 pm
by GeoTrail
Rescator wrote:Actualy, PHP is that simple!
Make a .php file call it hello.php
Then enter this in it:
Run the script!

NOT true.
That won't get processed as PHP but as text.
<?php
echo "Hello world";
?>
that's as simple/small as it can be done in PHP and at the same time being processed as PHP.
Posted: Thu Jan 26, 2006 11:04 pm
by thefool
Posted: Thu Jan 26, 2006 11:14 pm
by Dare2
BasicA
? "Hello World"
Posted: Fri Jan 27, 2006 1:51 am
by Rescator
GeoTrail wrote:Rescator wrote:Actualy, PHP is that simple!
Make a .php file call it hello.php
Then enter this in it:
Run the script!

NOT true.
That won't get processed as PHP but as text.
Exactly, so with PHP you do not even have to use code to display "Hello world!"
(altough technicaly as PHP does not find a <?php ?> section it automaticaly does a passthru aka echo of the text,
and you can also use variables, so it's not just plain text it does a direct passthru on.

Posted: Fri Jan 27, 2006 10:35 am
by josku_x
hehe. Actually HTML is the easiest one!
Either you put Hello World! like this:
or:
But there are some cool ones even if they're hard to understand, like Chef... etc..
Posted: Sat Jan 28, 2006 12:27 am
by Intrigued
GeoTrail wrote:Rescator wrote:Actualy, PHP is that simple!
Make a .php file call it hello.php
Then enter this in it:
Run the script!

NOT true.
That won't get processed as PHP but as text.
<?php
echo "Hello world";
?>
that's as simple/small as it can be done in PHP and at the same time being processed as PHP.
Maybe not... depending on how the "config file" is setup:
<?php
echo "Hello world";
?>
could be...
<?
echo "Hello World"
?>
Si?
Posted: Sat Jan 28, 2006 1:09 am
by GeoTrail
Intrigued wrote:Maybe not... depending on how the "config file" is setup:
<?php
echo "Hello world";
?>
could be...
<?
echo "Hello World"
?>
Si?
Well if you wanna nitpick, NO that won't work
You forgot the all inportant ;
Posted: Sat Jan 28, 2006 3:48 am
by Intrigued
GeoTrail wrote:Intrigued wrote:Maybe not... depending on how the "config file" is setup:
<?php
echo "Hello world";
?>
could be...
<?
echo "Hello World"
?>
Si?
Well if you wanna nitpick, NO that won't work
You forgot the all inportant ;
That's incorrect... I just tried it on my 1and1.com account. It works.
