More Hellos to the World

By Jonathan Lam on 12/18/15

Tagged: the-homework-life the-homework-life-site

Previous post: Hello, World
Next post: Site Update!

Here are some more "Hello World" examples in various languages that I've learned (at least to a small extent):

// Javascript
document.write('Hello, World!');
// Java
public class HelloWorld
    public static void main(String[] args) {
        System.out.println('Hello, World!');
    }
}
// C
#include <stdio.h>
int main(void) {
    printf('Hello, World!
');
}
/* CSS */
body::before {
    content: 'Hello, World!';
}
// Ruby
puts 'Hello, World!'
# Bash
echo 'Hello, World!'
<?php
    // PHP
    echo 'Hello, World!';
?>
-- SQL
SELECT 'Hello, World!'

(These were not selected in any particular order.)

Comments

Write a comment

No comments for this post.

This post has 0 views. Return home.

Previous post: Hello, World
Next post: Site Update!

America is a country where half the money is spent buying food, and the other half is spent trying to lose weight.

Unknown