The Ultimate Programming Language Showdown: C++ vs C# vs Java vs Python

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

so realistic that he was the last to sing. hahaha

DiegoRafael-zb
Автор

He should sing this in slow motion if he's a python.

Moshzyc
Автор

c#: Console.Write("Hello World");
python: print("hello world")
js: console.log("hello world")

Yorshik
Автор

They forgot the 300 extra operations overhead for using an interpreted language. He should be singing at 0.75x playback.

SighDontWantAHandle
Автор

I like how most "python is the least verbose language" examples are literally just a hello world

Bqmivqkcwxwvw
Автор

C#: Console.WriteLine("Hello world!");

For those who are wandering, you can write C# like this. Just nobody does this.

Kinoe_M
Автор

Btw now in c# you can write juste Console.Write(""); and it will work

mounaelle
Автор

C# doesn't require the boilerplate anymore since the top-level statements feature came out. It's now a one-liner to write Hello, World! Because that using statement was also unnecessary.

josda
Автор

I prefer c# or c++ for performance.
edit: "Guys stop debating over languages if all languages have their own advantages and use cases"

DangerUsDev
Автор

in c++ you can just use "using namespace std" so you don't have to write std::cout and std::endl, just type cout and endl

RioMC
Автор

This is unfair. The correct Python equivalent is:

if ___name___ == __main__:
print(“Hello World!”)

DataPastor
Автор

The correct python equivalent is:

def main(*args, **kwargs):
print("Hello World")

if ___name___ == "__main__":
main()

p.s: I have corrected `if __name__` construction. Thanks to comments

АртурЛюбимов-йо
Автор

Python for statistics and graphs: good
Python for anything else: snail

Robotonlinehue
Автор

This is the clip I got directly following one that showed me how fast C++ and Python can each count to 1 billion incrementally. Python was 2 minutes. C was 2 seconds

KeeperOfTheGate
Автор

I use C# and C++ because i like making games (oh i forgot my python)

Edit 1: 100 LIKES MOM I'M FAMOUS!

PikachuGD
Автор

I thought the same thing when I learned Python and then switched to Java and C++ back in school. But after learning object-oriented programming, Java and C++ (especially Java) started to make sense and became clearer for me. So, now I personally prefer Java or C++ over Python.

tolrex
Автор

In python, heres how to do something way more cool. The code:

>>> import turtle

>>> turtle.Screen()

>>> turtle.bgcolor(‘black’)

>>> turtle.pencolor(‘White’)

>>> turtle.pensize(5)

>>> turtle.circle(100)

Crossy_Road_Master
Автор

Ruby:

puts "Hello, World!"

Kamal-fvg
Автор

well, this is the most necessary task in programming languages, print "Hello world"

Беркут-мо
Автор

Personnaly I love python. It's easy to understand, quite easy to debug, well documented. Lot of libraries and things that you can use and not have to code ourself. So yeah, it's kinda slow compare to other languages. But I don't have any cases where it was an issue. It depends on what you need to develop.

x-_-_-Drayz
join shbcf.ru