
A WYSWYG test post using the age old “Hello World” displayed in C, C++, C Sharp, Objective C, Java, Java Script, Python, Go, Ruby, and PHP.
(C)an you read this?
#include <stdio.h>
int main() {
printf("Hello, World!\n");
return 0;
}
Time to (C++) things up!
#include <iostream>
using namespace std;
int main() {
cout << "Hello, World!" << endl;
return 0;
}
When you code, make sure your eyes (C#!)
using System;
class Program {
static void Main() {
Console.WriteLine("Hello, World!");
}
}
Never loose sight of that (Objective-C)
#import <Foundation/Foundation.h>
int main(int argc, const char * argv[]) {
@autoreleasepool {
NSLog(@"Hello, World!");
}
return 0;
}
Of course, if you get tired. Go for a nice pot of (Java)
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, World!");
}
}
And remember, the movie sucks because they couldn’t interpret the (JavaScript)
console.log("Hello, World!");
I mean, (Python)s. On an escalator? That’s not even worth a semi-colon!
print("Hello, World!")
Then again, if you’re buying. Just have to (Go) with it.
package main
import "fmt"
func main() {
fmt.Println("Hello, World!")
}
Though this better not be a who-dun-it about a (Ruby) heist!
puts "Hello, World!"
After we can go grab a beer at (PHP) off the Mopac!
<?php
echo "Hello, World!";
?>