LoginLogin

What programming languages do you know?

Root / General / [.]

12Me21Created:
Post a list of programming languages that you know. Also include a "Hello, World!" program in each language. SmileBASIC: ?"Hello, World! (15 bytes) QB64: ?"Hello, World!" (16) TI-BASIC: Disp "HELLO, WORLD! (15) Befunge: 94+"!dlroW ,olleH">:#,_@ (24) HQ9+: H (1) I can also (partially) understand most languages (like C++, Java, Lua, etc.) if the code is written well List of everyone's hello world code:
H -HQ9+ ?"Hello, World! -SmileBASIC echo Hello, World! -Batch <p>Hello, World!<p> -HTML puts "Hello World!" Ruby print("Hello, World!") -python print('Hello World!') Lua Disp "Hello, World! -TI-BASIC printf("Hello, World!"); -C cout << "Hello, World!"; -C++ document.write("Hello, World!") -JavaScript Console.WriteLine("Hello, World!") -VB Console.WriteLine("Hello, World!"); -C#
*Disp is 1 byte in TI BASIC, but lowercase letters are 2 bytes each.

SmileBASIC: PRINT "Hello, World!" Batch: echo Hello, World! C++: cout << "Hello, World!"; (The class sucked, though. We got to switch cases just before the semester ended)

Why not. SmileBASIC: ?"Hello, World!" C: printf("Hello, World!"); //Plain C experience=1% C#: Console.WriteLine("Hello, World!"); VB: Console.WriteLine("Hello, World!") Can't remember all.

SmileBASIC: ?"Hello World!" Python: print("Hello World!") HTML5: <p>Hello World!<p> JavaScript: document.write("Hello World")

I don't know any languages. Applesoft BASIC: PRINT "HELLO, WORLD" Commodore BASIC: PRINT "HELLO, WORLD!" CSS: body::after { content: "Hello, World!"; }

Here're the languages I know: C: printf("Hello World!"); C++: cout << "Hello World!"); C#: Console.Write("Hello World!"); VB: MsgBox("Hello World!") F#: printfn "Hello World!" Java: System.out.println("Hello World!"); JavaScript: console.log("Hello World!"); Python: print ("Hello World!") HTML: <p>Hello World!</p> SmileBasic: PRINT "Hello World!" N# (yea yea I'm cheating a bit): Console.Println "Hello World!" And for esoteric languages: Brainfuck: ++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++. Unlimibrain: +++++[>+++>++++++>+++<<<-]>[<+++++v+++++++^>>>+++++<<-]<---$v----$+++++++$$+++$^>>++$>---$v$+++$------$--------$^<+$ HQ9+: H Hello: h Hello++: Hello World Hello++++: Hello World

To IAmAPersson: very impressive

I know: SmileBASIC:
?"HELLO WORLD
VisualBasic:
Console.WriteLine("Hello World")
I'm learning: C#:
Console.WriteLine("Hello World")

IAmAPersson wins. The competition over.

I'll try.
Bash
echo "Hello World"
 
3. Basic
PRINT "Hello, world!"​
 
4. C
#include 
 
int main(void)
{
    puts("Hello, world!");
}
 
5. C++
#include 
 
int main()
{
    std::cout << "Hello, world!
";
    return 0;
}
 
6. C#
using System;
class Program
{
    public static void Main(string[] args)
    {
        Console.WriteLine("Hello, world!");
    }
}
 
7. Clipper
? "Hello World"
 
8. CoffeeScript
console.log 'Hello, world!'
 
9. Delphi
program HelloWorld;
begin
  Writeln('Hello, world!');
end.
 
10. HTML

 Hello World!
 
11. 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
    }
}
 
12. JavaScript
document.write('Hello, world!');
 
13. jQuery
$("body").append("Hello world!");
 
14. Julia
println("Hello world!")
 
15. Logo
print [Hello, world!]
 
16. MatLab
disp('Hello, world!')
 
17. Objective-C
#import 
#import 
 
int main(void)
{
    NSLog(@"Hello, world!
");
    return 0;
}
 
18. Pascal
program HelloWorld;
begin
  WriteLn('Hello, world!');
end.
 
19. Perl 5
print "Hello, world!
";
 
20. PHP

 
 
21. Processing
void setup(){
  println("Hello, world!");
}
 
22. Python
print "Hello, world!"
 
23. R
cat('Hello, world!
')
 
24. Ruby
puts "Hello, world!"
 
25. Swift
println("Hello, world!")
 
26. VBScript
MsgBox "Hello, World!"
 
27. Visual Basic .NET
Module Module1
    Sub Main()
        Console.WriteLine("Hello, world!")
    End Sub
End Module
 
28. XSLT
      Hello World
loljk
PHP echo"Hello World";
SmileBASIC: ?"Hello World
Lua print('Hello World')
JQuery $("body").append("Hello world");
HTML <p> Hello world</p>
Rblx.Lua print('Hello world')
C#: Console.Write("Hello World");




SmileBASIC, TI-BASIC, and just today I started learning HTML. I know the basics of it, enough for a hello world, so here:
SmileBASIC: PRINT "Hello World!"
TI-BASIC  : Disp "Hello World"
HTML      : <p> Hello World!</p> 
Not as impressive as everyone else here :P but I'm working on it :D

SmileBASIC, TI-BASIC, and just today I started learning HTML. I know the basics of it, enough for a hello world, so here:
SmileBASIC: PRINT "Hello World!"
TI-BASIC  : Disp "Hello World"
HTML      : <p> Hello World!</p> 
Not as impressive as everyone else here :P but I'm working on it :D
Same, but with Python and Lua.
Python : Print("Hello World!")
Lua    : Print("Hello World!")

I forgot python! But I don't remember how to use any of it >.< so oh well :P

Oh, I almost forgot Ruby! Ruby: puts "Hello World!"

SmileBASIC - PRINT "Hello World!" ROBLOX Lua - Print "Hello World"