Hello world!

September 29, 2006

In the computer language world, the phrase “Hello world” is used basically for testing especially when using an echo function. For example, in Javascript you would write this:

document.write("Hello world!");

For PHP, it would be this:

<?php
echo("Hello world!");
?>

It is even used for markup languages like HTML:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&gt;
<html>
<head>
<title>Hello world!</title>
</head>
<body>
<p>Hello world!</p>
</body>
</html>

If you really want to know all of them, Wikipedia actually has an article for them properly called “Hello world program“.

Nevertheless, the real point of this post is to say hello to you (even though you’re probably the only person that ever read this). Hopefully, this blog will grow and accumilate hundreds of posts. But as the old saying goes, “A journey of a thousand miles begins with a single step.”

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: