Brainfuck
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
BACKBONE.js
var AppView = Backbone.View.extend({
el: '#container',
initialize: function(){
this.render();
},
render: function(){
this.$el.html("Hello World");
}
});
var appView = new AppView();
BASH
echo "Hello World"
BASIC
PRINT "Hello, world!"
C
#include
hello_world in C
#include <stdio.h>
int main(){
printf("hello_world\nWelcome 2017!\n");
}
hello_world in c++
#include<iostream>
using namespace std;
int main(){
cout<< "hello world \n Welcome 2017!\n";
}
JavaScript
console.log("welcome 2017!");
Python
print("welcome 2017!")
Ruby
puts "Hello, world!"
int main(void) { puts("Hello, world!"); }
C++
#include
int main() { std::cout << "Hello, world! "; return 0; }
C#
using System; class Program { public static void Main(string[] args) { Console.WriteLine("Hello, world!"); } }
CLIPPER
? "Hello World"
COFFEESCRIPT
console.log 'Hello, world!'
DELPHI
program HelloWorld; begin Writeln('Hello, world!'); end.
HTML
Hello World!
JAVA
import javax.swing.JFrame; //Importing class JFrame import javax.swing.JLabel; //Importing class JLabel public class HelloWorld { public static void main(String[] args) { JFrame frame = new JFrame(); //Creating frame frame.setTitle("Hi!"); //Setting title frame frame.add(new JLabel("Hello, world!"));//Adding text to frame frame.pack(); //Setting size to smallest frame.setLocationRelativeTo(null); //Centering frame frame.setVisible(true); //Showing frame } }
javascript
document.write('Hello, world!');
JQUERY
$("body").append("Hello world!");
JULIA
println("Hello world!")
LOGO
print [Hello, world!]
Markdown
Hello World
MATLAB
disp('Hello, world!')
OBJECTIVE-C
#import #import
int main(void) { NSLog(@"Hello, world! "); return 0; }
PASCAL
program HelloWorld; begin WriteLn('Hello, world!'); end.
PERL 5
print "Hello, world! ";
Hello World'; ?> PHP
PROCESSING
void setup(){ println("Hello, world!"); }
PYTHON
print "Hello, world!"
R
cat('Hello, world! ')
RUBY
puts "Hello, world!"
SWIFT
println("Hello, world!")
VBSCRIPT
MsgBox "Hello, World!"
VISUAL BASIC .NET
Module Module1 Sub Main() Console.WriteLine("Hello, world!") End Sub End Module
XSLT
Hello World
let greeter = new Greeter("Hello"); alert(greeter.greet("World"));
## Brainfuck
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
## Dogescript
plz console.loge with 'hello, world'
#include<iostream.h>
void main()
{
cout<<"Hello World!";
}
## hello world in c
``` C
#include<stdio.h>
void main()
{
printf("hello world !");
}