Here’s what the code for Hello World looks like in some of the most popular programming languages currently in use.
Java
class HelloWorld {public static void main(String[] args) {System.out.println("Hello, world!");}}
C#
using System;class Program{public static void Main(string[] args){Console.WriteLine("Hello, world!");}}
Python
print("Hello, world!")
Ruby
puts "Hello, world!"
Scala
object HelloWorld extends App {println("Hello, world!")}
Response.Write("Hello World!");
Lisp
(princ "Hello, world!")
Haskell
main = putStrLn "Hello, world!"
Malbolge
('&%:9]!~}|z2Vxwv-,POqponl$Hjig%eB@@>}=<M:9wv6WsU2T|nm-,jcL(I&%$#"
CB]V?Tx<uVtTRpo3NlF.Jh++FdbCBA@?]!~|4XzyTT43Qsqq(Lnmkj"Fhg${z@>
Go
package mainimport "fmt"func main() {fmt.Println("Hello, world!")}
2 Likes
someone please voice act this
Level
4
Where is C++, JavaScript, HTML, and Swift?
and this is why i will never get into scripting
Oh, you like World of Magic? Say “Skill Issue” in every language.
Is this actually a real thing?
Is this what this coding language actually looks like?
Level
15
Yes, but it’s not a programming language you’re supposed to even use, it’s more like an extreme programming challenge to test your skill.
It was specifically made to be near impossible and unintuitive to use.
1 Like
Cool list, but it doesn’t have enough based languages (Malbolge gets a pass), you’re in luck, I’m here to help you out.
C
C is based, all the important things are made in C.
#include <stdio.h>
int main(int argc, char *argv[])
{
printf("Hello World!\n");
return 0;
}
Vimscript
Vim is based, so when you make add a command to it it’s also based.
:command HelloWorld execute "normal IHello World! \<Esc>
brainfuck
A computer is a Turing machine, so just use it as one. Doing anything more is just bloat anyways.
+++>++++++++++++<
[->[->+>+<<]>[->+<<+>]<<]>>>
.<[-]<[-]<[-]
++>++++++++<
[->[->+>+<<]>[->+<<+>]<<]>>>
---.+++++++..+++.
>++>++++++++<
[->[->+>+<<]>[->+<<+>]<<]>>>.
>++++>++++++++++<
[->[->+>+<<]>[->+<<+>]<<]>>>
+++++++.<<<<<<<<
.+++.------.--------.
>>>>+.
You should use these based languages in your daily programming.
1 Like
OhHey
18
Lisp is a programming language? Damn. Now there’s a whole language for James Charles.
as skill issue is a phrase, the entire thing would be in katakana.
スキルイッシュル
“sukiru isshyuru”