Website, Reboot

General ramblings about web coding, life and other stuff

By

Hello world!

The simplest of programs. Used to introduce a person to a basic syntax of a programming language. Here are some examples, in the languages I know (or once knew) mostly in the order in which I learned them.

10 PRINT "Hello World!"
echo hello world
:- write('Hello, world!'),nl.
program hello;
begin
  Writeln('Hello, world!');
end.
#include <stdio.h>
int main(void) {
    printf("Hello, world!\n");
    return 0;
}
PRINT @(34,12) : "Hello, world!"
Private Sub Form_Load()
  MsgBox "Hello, world"
End Sub
CREATE TABLE message (text char(15));
INSERT INTO message (text) VALUES ('Hello, world!');
SELECT text FROM message;
DROP TABLE message;
-- Or simpler yet...
SELECT 'Hello, World!';
echo 'Hello, world!'
<html><body>Hello, World!</body></html>
<cfset message = "Hello World">
<cfoutput>#message#</cfoutput>
document.write('Hello, World!');
print "Hello, world!\n";
<?php echo "Hello, world!"; ?>

I think that’s enough for one day, don’t you think? So, in case you didn’t get it….

Hello, World!

Welcome to the blog. What’s it going to be? Who the hell knows, but time will tell. Programming, ranting, raving (the good kind), it’s all on the table. So stay tuned! In the meantime, check out this awesome page, which I went to to help me remember how the heck to write a hello world in Prolog. (it’s been few years…) http://www.helloworldexample.net/

–Joel

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>