Hello, World Program in 35 Languages
Вставка
- Опубліковано 25 сер 2024
- Hello world is a very simple computer program that simply displays that message to the screen. Traditionally, introductory computer programming lessons or tutorials begin by teaching how to write a hello world app in a given language.
While the amount of code it takes to write hello world in a given language is a fairly meaningless measure, I find it interesting to compare various popular (and not so popular) languages, and see how much work they require for this most trivial applications.
Languages shown in the video:
1. Ada
2. haskell
3. Perl 5
4. BASH
5. ActionScript 3.0
6. C++
7. C
8. D
9. BASIC
10. Python
11. Dart
12. PHP
13. Hack
14. Delphi
15. Haxe
16. C#
17. Java
18. Object-C
19. Cobol
20. Pascal
21. Assembly - x86
22. Eiffel
23. ColdFusion Markup Language
24. Fortran
25. Go
26. AppleScript
27. Ruby
28. Clojure
29. Erlang
30. CoffeeScript
31. JavaScript
32.Scala
33. Lisp
34. Smalltalk
35. Swift
Programming tutorials by Easy Learn Tutorial - because anyone can learn how to become an expert software and web developer!
Copyright (c) 2013 Rodrigo Silveira - www.easylearntu...
best part of this is seeing your first language pop up and going OH THATS MY ONE
*kas :* what about multiple?
I know actionscript but it...
PYTHON BABY
Yeah!!
Public static void- C# there you are!
HTML:
Hello World
Yes it’s a joke.
Same with php, don't really need php tags, lol
HTML is a markup language, not a programming language.
I thought it's
Oh thx
@@eduardsusai559 not necessary
When you see a language you're planing to learn then see the complexity and change you're plans.
I did that with UNIX, had to switch to Python but I also enjoyed learning HTML, C#, and Java
The second C# one is actually Java, no?
That is what I thought two.
Mara Formigone yeah it is, didn't realize you said second
yes
Isn’t it, Console.WriteLine(“Hello World!”); ???
@@Lawliet_____ yeah thats c#
2:30 it's not c# it's java.
Didn't expect you to mess up the java part🤣🤣🤣🤣
The best is print(“hello world”)
exactly, why can't it just be like that for all languages. How to print "Hello World"? print("Hello World") makes sense.
No obviously
using System;
class Program
{
public static void Main(string[] args)
{
Console.WriteLine("Hello, world);
}
}
Is the best one here aka. C#
console.log('hello, world!') is the best
@@racialconsciousness7169 Because python sucks and is a super slow
C++ rules.
3:22 Assembly x86
I kinda feel bad for them
@@mansodev I don't remember why I've commented this 5 years ago xD
@@rickie_bo lol
@@rickie_bo lol
class
LOL
create
make
feature
make
do
print ("LMAO%N")
end
end
when the editor cannot C#
LMAO
Me who learned Java and eagerly waiting for it to show up.
This video: Typo (Shows C# instead of Java)
Me: My disappointment is immeasurable and my day is ruined :(
Stop watching among us dead memes and learn a better language
@@sirspongadoodle What's wrong with Java? it's a good language.
Time to add 35 programming languages to my resumé :)
Me after completing my hello world in Assembly x86:
That's enough for today.
Tomorrow: 🙄🙄
❤️🤣 yes
02:28
public static void main(String[] args ){
System.out.println("Are you sure about that?");
}
}
Hahaha
alert 'i understanded the joke"
Var a = "These hands."
try{
sumthin
} catch (IOException e) {
return a;
}
public class Nicholas
{
public static void main(String[] args)
{
System.out.println("Hello World!");
}
}
// You forgot this -Java
Nicholas Iun You can remove the return since it is of type void
The autor messed up and wrote C# instead of Java 02:25
***** Arduino isn't a language bud, it's a micro controller powered by c++
you forgot Malbolg
(=
APL, A, A+, J, K, Q:
"Hello, World!"
BASIC do the most "logic" construction for this. Just - Print "Hello world"
BASIC can only run text based commands
python
It's Python 2
@@malevolentlight8777 No, it's BASIC. The reason being that most 8-bit computers BASIC was made for only displayed capital letters by default. PRINT "Hello" won't run on python2 i believe. It needs to be print "Hello".
@@totalbrainfail1812 Yeah In python 2 specifically, it's print "hello world" or print 'hello world'. In Python 3 it's print ("hello world"). I don't know much about basic so you're probably right about that
2:26 it's not 'C# but Java
3:36 Ah, Eiffel code looks like Eiffel tower. Makes total sense.
1:22 you can do this in lua too. You can also remove the parentheses in lua there not needed if you want to print hello world.
Lua is easiest language in my opinion lol It's like python
@@ultimatesheep I prefer brainfuck
@@ultimatesheep python is like for website and lua is gamer
@@daconday python for website? xd
Now i can add this to my resume
gosh, so many languages require so many typing just to print "hello world!"
Because they are the most descriptive
The best part: console.log ('hello world')
Python and Ruby are beautiful!)
BASIC is beautiful
C++ is.
beepst no frick off
Lisp too
Malbolge too!)
you forgot malbolge
Bonarchy he said in 35 languages not all languages
Top Videoss the fuck, I looked up malbilhe and this was the first result,
here you are:
(=
What about brainfuck
@@raptorgamer7275 Or Moo XD
Teacher: What is the best language to know in programming?
My friend: Java
My friend's girlfriend: Python
My friend's girlfriend's affair: C++
My girlfriend: I only know HTML
Me: English
and me: Russian
@@aef1hfqdcxaqwxxqsxqgvbnr797 1C
Generic joke 109689th I see... this joke is literally older than you.
Python is the most logical, just print('i have a blue pajama')
Python is Easy not logical, don't get these two words mixed up...
@@hitentandon7856 get a life bro.
@@rehmanzed If you don't know, the memory usage of python is through the roof, a Normal int that in most languages takes 4 bytes, in python takes 8 bytes only to have the same storage(12 bytes for extended). And arrays that in other languages takes sizeof(type) * size of the array space in other languages in python it takes 4+ (sizeof(type)+4)*(size of the list) This isn't logical, it uses too much RAM that causes the user's computer to slow down, and reduces the program's usability. True, it's easier for the programmer, but by no means do i find this logical.
fun main(args: Array) {
println("Hello World")
}
-Kotlin-
args not required
"Hello, world! Programmed to work and not to feel. Not even sure, that this is real..."
Ты тоже русский под прикрытием?
@@zza7217 Дыа.
@@user-do2rq3oh4u круто
Пацаны, я из Казахстана! И да, я знаю эту песню
You wrote a full function / method in some of the examples... Like in ada or hack or C++. In java (One of the programming languages that I know), you wrote that the System.out.println("Hello, world!") Is in C# instead of Java... And in html you can just write hello world but you can do this thing: hello world or hello world. Btw, I'm programming in Java, C#, Python, HTML, CSS, JavaScript. (HTML and CSS are technically not a programming languages!).
But HTML and CSS are Turing complete so...
2:26 So, Sir this one is Java not C#
1:50 pascal, not delphi. Delphi not a language
+Александр Македоненко en.wikipedia.org/wiki/Delphi_(programming_language)
tl;dr; Object Pascal got renamed into Delphi.
Eto Demerzel wiki sometimes has misstakes, but first sentence is right "Embarcadero Delphi is an integrated development environment", also I read this article in russian and it said that delphi is development environment, not language. For example, visual studio is using c++ lang. but you would never say that visual studio is language
+Александр Македоненко from Russian wiki: "на языке Delphi (ранее носившем название Object Pascal)". So... Unfortunately, I'm right.
Eto Demerzel even if u right, pascal and delphi are absolutly indentical, at wiki I found that for compiling "delphi" lang u can use pascal compilators, I dont understand this fucknig logic, its not another lang why u need to rename it ?
+Александр Македоненко One word: marketing.
Ada, Java, C#, Cobol, and Eiffel win the boilerplate king award. Eiffel looks like a total mess
yes
One slide must be Java :)
The second one
Ahh yes Ruby looks great (It always does!)
wat about Befunge?
1:10 D sounds and looks like an alternate reality version of C
It’s pretty different but still seems very similar
True
A, b, *C*, *D*
2:29 NullPointerException
2:30 that's java right?
*In my programming language (in dev):* out Hello, World
0:57 it is gorgeous
True, true
Python was clean.
Adding 35 languages to my resume.
"puts" instead of "println" in c. Common, man. Keep it classic.
Its printf.
@@RitualPassion yes, you can use printf. But it's best to use println if you want a line return to be inserted at the end of the string automatically rather than adding '
' refer to: cboard.cprogramming.com/c-programming/147435-writing-println-code.html
@@thesecondantagoniser4008 I’ve never seen println before. printf is used because you can do something like this:
printf(“Hello”);
char* msg = “, World!”;
printf(“%s
”, msg);
Output:
Hello, World!
$ (terminal position would be here)
@@qwerty273 what language is that?
@@sirspongadoodle C, I guess also C++, but you would do std::cout if it were C++.
C#? lol you mean Java?
nice dark old school beat in the background
I waited for 'malbolge' to be shown, but it didn't :(
Same 😂
Haskell is so nice!
cant believe i recognized the assembling language =)))
I recognized it by looking at its messy syntax
Of course there are many different looks of assembly code based on processor and environment. I’ve written “hello world” on 6502 and 68000 systems that take many lines of code to provide an output to serial port function because there was no operating system. That looks messy.
did you label java as C#
3:21 here's an easier way
data segment
Deez dw "hello, world$"
ends
code segment
start:
mov ax, data
mov ds, ax
mov es, ax
mov ah, 9
mov cx, deez
int 21h
mov ah, 0ah
int 21h
ends
end start
Hope i helped(this isn't part of the code)
2:29 will be Java not C#
lua not included :(
yes yes very sad
let me guess you are trying to make a roblox game
@@ezsheets3623 of course lua is only used in roblox! (sarcasm)
@@evil_factory Actually, if you are really looking for it, a comment by @The Planebagel says that you can use 1:22 (python) and it will also work with lua. Although you *_can_* use the parentheses, they are not required.
@@ezsheets3623 in python 3 they are required
@@evil_factory I meant they aren't required in lua
10 ?"HELLO, WORLD!"
RUN
HELLO, WORLD!
READY.
commodore 64 BOIIII
I want to play with BASIC again!
Track Used?
Easiest way -
print ("Hello World")
cobol seems like a harsh language
its all caps, every line ends in a period, and theres like no brackets or even parentheses or any operators
cobol doesnt have to be all caps
The original intention was to ape "human sentences," hence the periods.
My fav languages:
Python
C
Java
Mine:
Java
C#
C++
Python CPP JAVA
Mine : English
The Chad BASIC, the Thad Fortran, the Lad COBOL
Did you show ColdFusion 3 times?
Wheres powershell
write-host("Hello, world!");
Where are the lua???
Example for printing string on lua: print("hello world")
*where is
That sounds like Python tbh (although I've never heard of lua)
@@saikinist it's the same in lua
in some lanuages you have write so much just printing hello world! in some other work can be done in just 1 or 2 lines thats good
You forgot binary language
My favourite is python
the best is
puts "Hello,World!"
At 2:29 it's Java bruh
Best ones: Python , C# , Java
python: print("Hello, World!")
meanwhile assembly:
LEJWILKSJA
WE
EWDEW
HELO WOARLD
[ARe
is there a programming language name hack ?
Music:
Dependant Intensity (Original Version) · Wha Happnin
2:39 this is not Objective-C if it was it would be like printf("Hello world")
POV; you were guessing the languages
Mano o ASSEMBLY foi insano
2:28 Thats java. Not c#
Ada looks very hard
2:42 COBOL. Now I feel old.
But, COBOL was fun to see!
How many did you guess?
2:29 uh uh hold up that's java that ain't C#
Wheres batch?
Java != C# and Scala != Coldfusion ML
2:16 C# 9 now is only:
```c#
using System;
Console.WriteLine ("Hello, World");
```
Or `System.Console.WriteLine ("Hello, World");`
c#10 is now ony
Console.WriteLine("Hello, World!");
2:26
I think this is Java....
that is java not c#
people who brag about knowing 20 programming languages be like
Wheres Malbolge?
2:29 this is java
It looks like there was at least one redundant entry. I know for sure I saw c# twice.
You forgot Hello, World
Isn't the DART one the C way of printing hello world? How I learned it was "int main() { printf("Hello, world");
****3:04**** _Just to Print a Simple "Hello, World"._
To be fair, that code would require an MS-DOS-compatible environment. The code simply passes a pointer to OS, and lets the OS print the text.
If it actually outputted text to the screen without the OS, the code would be longer!
It's not hard if you understood it
where is lua ? ;-;
Lua:
print("Hello world!")
RIP lua :(
1:30 Dart is the best 😍😍😍
2:30 IT IS JAVA!
2:29 its Java?
Where is casio basic ?
Malbolge is laughing at the corner 😂😂😂
Hello, world! -English (traditional/simplified)
Привет мир! -Russian
¡Hola Mundo! -Spanish
안녕하세요, 월드입니다! -Korean
你好世界! -Chineese (traditional/simplified)
नमस्ते दुनिया!-hindi
مرحبا بالعالم!-arabic
Hallo Welt! -german (pretzels)
Hallo Wereld! -duch
Bonjour le monde! -french (croissants)
Hei maailma -Finnish
Ciao mondo! -Italian (pasta)
Hello Wêreld! -afrikaans
Saluton mondo! -esperanto
aloha, honua! -hawaiian (pineapples)
Hej världen! -swedish (meatballs)
Ahoj světe! -czech
Здравей свят! -bulgarian
Γειά σου Κόσμε! -greek
Salut Lume! - romanian
Hàlo a Shaoghail! -scottish Gaelic
Moien Welt! -luxembourgish
नमस्कार संसार! -napali
hello, adduunyo! -somali
Dia duit, domhan! -irish
Sawubona Mhlaba! -zulu
สวัสดีชาวโลก! -thai
ନମସ୍କାର ବିଶ୍ୱବାସି! -odia
Hello, wawhld! Okay? -brooklyn
こんにちは世界! -japanese
Helo Byd! -welsh
העלא וועלט! -yiddish
Hallo wrâld! -western frisian
alo, mond! -haitian creole
Helló Világ! -hungarian
salve, mundi! -salve, mundi!
After all, Java is Oracle C#
But what happens after? If you run the code?
Wait, where is my Brainfuck? Or Shakespere? Or at least one of them!
There is Java?