Hello World!

The first program anyone writes in a new language is often really simple and just displays the text “Hello World!”, below are a few examples from languages I have knowledge of.

Console.WriteLine("Hello, world!");
<p>Hello, world!</p>
php echo 'Hello, world!'; ?>
MsgBox("Hello, World!")
SELECT 'Hello, world!'

Or maybe

SELECT * FROM table WHERE name = 'Hello World!'
'Hello, world!'
console.log('Hello, world!');
PRINT "Hello, world!"

Turns out I know quite a few programming languages. And yes there have been times where I need to stop and think about which language I am writing in.


comments powered by Disqus