Running "Hello World!" in 10 Programming Languages

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 1,6 тис.

  • @Ardens.
    @Ardens.  2 роки тому +624

    This video has been bringing a lot of new viewers onto the channel; I want to say thank you to the ones who've liked and subscribed. Also, I know how I listed the languages, and the overall accuracy in this video wasn't the best, so I apologize for that.

    • @Abhinav-Bhat
      @Abhinav-Bhat 2 роки тому +2

      Really Cool Video

    • @highgaming6444
      @highgaming6444 2 роки тому +4

      First time watching you're video and imma say your defo underrated, hope you gain more popularity

    • @Abhinav-Bhat
      @Abhinav-Bhat 2 роки тому +2

      @@highgaming6444 Yes really

    • @gersomwastaken
      @gersomwastaken 2 роки тому +2

      First time here, really good video, keep up the great stuff!

    • @uPilot
      @uPilot 2 роки тому +1

      can you say hi to me huge fan

  • @ajtan2607
    @ajtan2607 2 роки тому +1975

    C++ is a multi-paradigm language. It's not just an OOP. You can do structural programming if you want. It even has the keyword `asm` which allows you to insert some assembly code in performance-critical operations. C++ is more like a federation of languages.

    • @MewPurPur
      @MewPurPur 2 роки тому +118

      Ye, it's called a superset because any C code will run in C++ too.

    • @ajtan2607
      @ajtan2607 2 роки тому +91

      @@MewPurPur Well, not really just "any" C code. There are still some compatibility restrictions. For example, due to the strong type checking of C++, you need to do some type casting in certain places:
      ❌ char *s = malloc(10);
      ✅ char *s = (char*)malloc(10);
      `malloc()` returns a `void*` and C++ does not allow assignment for two different pointer types.

    • @cerulity32k
      @cerulity32k 2 роки тому +7

      @@MewPurPur The only difference is void main vs int main.

    • @tbmj
      @tbmj 2 роки тому +6

      Yeah, but as someone who codes in c++ it tends to be hard to move on without switching to the dark side.

    • @nanibaka2940
      @nanibaka2940 2 роки тому +4

      @@tbmj Yo I'm 14 getting into web development I'm fairly good at html CSS js and sql little bit of php/ bottom line I need a mentor I'm stuck just building a bunch of projects just to get use to js
      can someone please just be like a small mentor for me

  • @alkhiljohn7640
    @alkhiljohn7640 2 роки тому +36

    I like how the thumbnail's just like:
    Level 1: *Scratch hello world*
    Level 10: *Literally some random programming function*

  • @cn-ml
    @cn-ml 2 роки тому +264

    In newer C# versions you can just write Console.WriteLine("Hello, World!"); the namespace is optional, the system import is optional when using global imports and the class and main function is also optional using top level statements. Also for those saying C# is just a Microsoft Java clone: Yes, kinda, but nowadays it's a lot more versatile and way more performant due to very well optimized C# JIT and some AoT compilation.

    • @modernkennnern
      @modernkennnern 2 роки тому +17

      Way back in C# 1.0 it was a Java clone, but nowadays it's Java that's copying features from C# to try to stay up-to-date

    • @llorentejuandiego
      @llorentejuandiego 2 роки тому

      I was going to say you can write CW then tab and c# Will understand console.write líne

    • @cheesierglint02
      @cheesierglint02 2 роки тому +1

      Yeah but it’s got that dumb OOP stuff which is hard

    • @varjosenfrans
      @varjosenfrans 2 роки тому

      What even the other scrips do?

    • @tcg1_qc
      @tcg1_qc 2 роки тому +2

      Hell, you don't even need to write anything, just create a new project in Visual Studio and voila, you have Hello World

  • @pothangus1118
    @pothangus1118 2 роки тому +620

    0:35 Scratch
    1:05 Python
    1:34 Lua
    2:06 Ruby
    2:27 JavaScript
    2:57 Multiple Lines Intro
    3:07 Kotlin
    3:37 C
    4:23 C++
    4:59 Java
    5:31 C#

    • @pothangus1118
      @pothangus1118 2 роки тому

      @Oreo Dracula same

    • @catenary_curve
      @catenary_curve 2 роки тому +4

      @Oreo Dracula lua is heavily different in roblox so don’t really underestimate normal lua because they are pretty different

    • @skeptical_playz6142
      @skeptical_playz6142 2 роки тому +3

      @@catenary_curve I’m pretty sure Luau is a mix of Lua and C++

    • @Top4ickP
      @Top4ickP 2 роки тому +2

      6:38 roblox studio

    • @techyik
      @techyik 2 роки тому

      @Oreo Dracula me too

  • @chixenlegjo
    @chixenlegjo 2 роки тому +61

    I was hoping to get to esolangs. Seeing Hello World in Brainfuck, JsFuck, FRACTAN, or Piet would be interesting.

    • @tristanmisja
      @tristanmisja 2 роки тому +1

      Definitely! Especially Piet.

    • @Ardens.
      @Ardens.  2 роки тому +2

      ua-cam.com/video/Ysled8GvKuk/v-deo.html

  • @robonoidx7484
    @robonoidx7484 2 роки тому +24

    0:53 best part

  • @supermalavox
    @supermalavox 2 роки тому +246

    I like Python. Easy to learn for a blind person using a screen reading program.

    • @Iawait
      @Iawait 2 роки тому +23

      Wow ur so cool.

    • @noided-insight537
      @noided-insight537 2 роки тому +73

      If blind people are learning Python than I have to be the worst procrastinator ever

    • @supermalavox
      @supermalavox 2 роки тому +22

      @@noided-insight537, you would be if we were learning Scratch, since dragging and dropping is much harder because it is graphic than writing words wile a program reads to us. Also, one of the most used screen readers for Windows (NVDA) is made in Python. (And this is no commercial I'm making since NVDA is free!

    • @DyslexicFucker
      @DyslexicFucker 2 роки тому +6

      @@supermalavox idk man sounds like a commercial to me

    • @supermalavox
      @supermalavox 2 роки тому +3

      @@DyslexicFucker, it would be if I talked about screen reader brands, although even so, the ones I use both on my PC and Android are free.

  • @ApzyteGamer
    @ApzyteGamer Рік тому +3

    In C# using in Unity, we can also print by Debug.Log("Hello, world!")

  • @friend7120
    @friend7120 2 роки тому +226

    FINALLY someone who recognises the difference between C++ and C. that and appreciating Lua = instant sub

    • @Ardens.
      @Ardens.  2 роки тому +26

      oh yeah I'm a big fan of lua. and thank you for your support!

    • @tristanmisja
      @tristanmisja 2 роки тому +9

      You can compile run any ANSI C program using a C++ compiler, and you're telling me they aren't similar?

    • @friend7120
      @friend7120 2 роки тому

      @@tristanmisja where did I say they weren't similar

    • @ИльяВитцев
      @ИльяВитцев 2 роки тому +7

      Wrote a lot of code for Minecraft mod OpenComputers and ComputerCraft in Lua. Honestly, the language is easy if you don't have an idea of programming. I came from a lot of C# experience, so I expected at least -arrays- -lists- tables starting with 0.
      Also Lua is blazing fast. Lua should get way more recognition than it does already.

    • @-Omega
      @-Omega 2 роки тому +2

      C++ is a multiparadigm language though, and is procedural unlike what the video states

  • @mac3615
    @mac3615 2 роки тому +11

    I'll never forget my assignment to make a example code in 20 different (old) languages, on paper. Chose to print hello world for all of those. Good times

  • @Louisianish
    @Louisianish 2 роки тому +726

    C# really should be called Java++/J++ or Java#/J#. It seems to have a lot more in common with Java than it does with C and C++.

    • @mikejameson7678
      @mikejameson7678 2 роки тому +36

      I'd argue that C# and Java are awfully similar to the concept of C++, give or take for the steep(er) learning curve for C++

    • @alexandrzhukov903
      @alexandrzhukov903 2 роки тому +58

      C# is basically just java on steroids. With some C features

    • @equinox2584
      @equinox2584 2 роки тому +33

      The problem with that is that C# was made in retaliation to java, Sun microsystems says "it runs on everything!" Microsoft hates this so they say "look over here, it runs on WINDOWS" basically they are increadibly similar because they were both made to be a higher level C++ in fact C# is named that because it is C++++ if you stack the plus signs.

    • @mikejameson7678
      @mikejameson7678 2 роки тому +11

      @@equinox2584 C# is pretty universal nowadays, though. But I'd still argue that C++ would be significantly better for the majority of speed-related programs.

    • @philippezevenberg1332
      @philippezevenberg1332 2 роки тому +9

      C hashtag

  • @Creepyslandofdreams
    @Creepyslandofdreams 2 роки тому +183

    The first language I learned was c# because I wanted to make unity games. I got bored of unity because I could never put in enough time and started using online compilers on my schools Chromebooks to make silly little programs. Honestly c# isnt as complex as you would think once you get the hang of it, but ive always needed a list of functions (like javatpoint) open or intillisense to do anything. there is just so much to it.

    • @craftlofer9974
      @craftlofer9974 2 роки тому +7

      i did something similar, but at first i tried learning lua, didn't understand it then i passed to C# in unity (which i didn't understand years ago too) and i was able to understand how it works and make games in it, then i also got a little bored from it too and i decided to try lua and other languages again, now i know C#,lua, and a bit C++ (not that much) and i am trying to understand more coding languages

    • @kingcobra3329
      @kingcobra3329 2 роки тому

      Instead of using unity, try making a 3d game engine ;)

    • @Roxve
      @Roxve 2 роки тому +1

      Me too but I don't have Time for anything luckily my school will end in 2 months

    • @jannik323
      @jannik323 2 роки тому

      yea i wouldnt recommend doing something complex like a game as a beginner,start small u ity will just confuse you, at least it confused me. now its super easy

    • @edwarddeaddead1128
      @edwarddeaddead1128 2 роки тому

      @@kingcobra3329 Yea, try learning vulkan ;) oops you might need to learn c or c++ too ;)

  • @ANTUBER
    @ANTUBER 2 роки тому +10

    This video gets straight to the point, easy to understand, and funny. Really rare to see that on UA-cam.

    • @makkie8593
      @makkie8593 2 роки тому

      💯💯 im subbing

    • @lucassantossj
      @lucassantossj 2 роки тому

      Lot of channels would start needlessly explaining the origin of each language...

  • @fikkitchen
    @fikkitchen 2 роки тому +35

    The print() function in Python has a parameter end="" which defaults to "
    ". Inside the function call you can override it, to add no character at the end of the line.

  • @gamer-mj9ee
    @gamer-mj9ee Рік тому +1

    in 4:43 Encapsulation means binding of code and data, abstraction(data abstraction) means using a program without knowing its background, polymorphism means using many functions in the same name and inheritance is copying functions from one object to another well how I know I am asian(did it in high school)

  • @prodbyelija
    @prodbyelija 2 роки тому +8

    or with C#, you can write at the start of the program:
    Using System;
    namespace...
    class
    etc etc
    so instead of having to write "System.Console.WriteLine()" you can just write "Console.WriteLine()"

    • @Zamoksva
      @Zamoksva 2 роки тому

      or import => using static system.console; and you can just use WriteLine("TextHere");

  • @zumbi2009
    @zumbi2009 Рік тому +1

    Thank you very much for showing "Hello Word" in Lua, the guys of PUC-Rio de Janeiro must have been happy

  • @ch4o7ic8
    @ch4o7ic8 Рік тому +3

    I gotta say I would have loved if there was assembly covered here. It's looks so overloaded if you look at a simple Hello world program but it's actually pretty straightforward if you know what's happening

  • @Aestraa
    @Aestraa 2 роки тому +175

    1) adding funny moments
    2) trying really cool in explaining
    3) amazing editing
    4) working with animations too...
    Surely you have a bright future, best wishes from me

    • @Ardens.
      @Ardens.  2 роки тому +9

      Thank you for your kind words :)

    • @NOT_A_ROBOT
      @NOT_A_ROBOT 2 роки тому +4

      why are there 2 3s

    • @Scotty-vs4lf
      @Scotty-vs4lf 2 роки тому

      @@Ardens. "crip" tology lmao

    • @Ardens.
      @Ardens.  2 роки тому +1

      @Scotty1286 peep game👀

  • @codyboxy.wtflmao
    @codyboxy.wtflmao 2 роки тому +1

    bruh you made me laugh, learn, and inspire me to learn coding languages. subbed and liked, Thanks pal

    • @Ardens.
      @Ardens.  2 роки тому

      That makes me happy to know, I hope I can keep making you laugh

  • @kwekker
    @kwekker 2 роки тому +38

    I definitely agree with the C part. C is _simple_ but it definitely isn't _easy_

    • @olavmulder1514
      @olavmulder1514 2 роки тому

      True that, you must use 'return' when you declare the function with everything except void. So his program will not compile🥲, pretty easy but it isn't

    • @kwekker
      @kwekker 2 роки тому

      @@olavmulder1514 pretty sure this is true in old compilers but in the new ones you don't necessarily need a return in the main function for it to compile.
      For any other function you do though.

    • @marcossidoruk8033
      @marcossidoruk8033 2 роки тому

      @@kwekker no, for other functions not including a return statement will only trigger a compiler warning in non-void functions.

    • @deepblueharvest
      @deepblueharvest 2 роки тому

      Not true for GCC. I seldom have the main program return anything and have never gotten a warning.

  • @Salted_Potato
    @Salted_Potato 2 роки тому +25

    I like your humor and artstyle incorporated into software videos, subbed!

    • @Ardens.
      @Ardens.  2 роки тому +6

      Thank you! And thank you for your support :)

  • @fluffydoggo
    @fluffydoggo 2 роки тому +2

    C#, Hello world became a one-liner in .NET 6:
    Console.WriteLine("Hello World!");
    This is because:
    - implicit usings
    - main function not required. You instead can just write code in a file like seen above

  • @stickguy9109
    @stickguy9109 2 роки тому +8

    You don't have to write namespaces in C#,for example I don't use them so often. You also don't have to write string args I don't use that either

    • @arrax_s
      @arrax_s 2 роки тому

      thank for the tip

  • @no-ld3hz
    @no-ld3hz 2 роки тому +11

    Lua is an amazing language, it can be simple initially but once you get into luajit (which yes, in it of itself is its own language) is amazing with the speed and abilities that it gives you. not only that, it's multiparadigm and can support OOP via metatables.

    • @mrmarloncarvalho
      @mrmarloncarvalho 2 роки тому

      É muito legal saber que uma linguagem de programação brasileira é conhecida em outros países

    • @AlexGoosan
      @AlexGoosan 2 роки тому

      Also you can create addons for Garry's Mod

    • @Indocryptic
      @Indocryptic 2 роки тому +2

      roblos

  • @scratchpad7954
    @scratchpad7954 2 роки тому +7

    I think part of why I was never interested in computer programming in high school was because, as a total novice, making me try to program in C# was like throwing someone who is terrified of the water into the deep end of the ocean. Give me Scratch any day of the week over C#!

    • @ZeroSleap
      @ZeroSleap 2 роки тому +1

      What?C# is fairly easy for starting out compared to C++ for example.Although it sure is harder than python

    • @ignacioariellopez8491
      @ignacioariellopez8491 2 роки тому +1

      @@ZeroSleap Not the point, C# is indeed "easy", but, at first it can scare u so much, even more than any of the languages shown here (exception of 1 or 2.)

  • @tturmoil
    @tturmoil Рік тому +3

    2:14 smoke alarm

    • @brvhness
      @brvhness Місяць тому +1

      i knew i wasnt the only one that heard it

  • @emperorj4783
    @emperorj4783 2 роки тому +13

    For Java and C#, you don't really require "string[] args" unless you want to take arguments from the console

    • @mortl2547
      @mortl2547 2 роки тому

      It’s required for java.

    • @masterflitzer
      @masterflitzer 2 роки тому

      @@mortl2547 in java you need a string array var in the signature of the main method but you can name it however you want e.g. String[] myArgs

  • @iamyourdeitysatanshallrun9383
    @iamyourdeitysatanshallrun9383 4 роки тому +8

    This guy is funny I subscribed, thanks for the knowledge

    • @Ardens.
      @Ardens.  4 роки тому +1

      Thank you. Mad love

  • @alialalwi7798
    @alialalwi7798 Рік тому +2

    in c# using .net6 you can now only just type console.writeline("hello world") and thats it because .net6 just builds u a template that has all of that code hidden and ready for use

  • @한진영-o5q
    @한진영-o5q 2 роки тому +1

    My second time seeing 'BrainFuck' in a "how to run 'hello world' in different programming langauges”

  • @felix6776_
    @felix6776_ 2 роки тому +8

    I am actually learning C in school right now. I really don't think it is that difficult, I mean there are simpler ones but C is definetely doable.

    • @robomilk2001
      @robomilk2001 2 роки тому

      the complexity of C comes from its philosophy of "do it yourself" which kind of forces you to learn how data structures and OS calls work in a low level. As a program complexity grows it becomes harder to keep it cohesive around itself, as again, the language gives almost no tools to keep things modular and tidy and instead rely on the programmer. The good news is that for a language like C there's a very close translation to the machine code that will be eventually executed on the computer, which means there's little to no abstraction in the code and it becomes quite easy to program, at least at a basic level.

    • @robomilk2001
      @robomilk2001 2 роки тому +1

      the complexity of C comes from its philosophy of "do it yourself" which kind of forces you to learn how data structures and OS calls work in a low level. As a program complexity grows it becomes harder to keep it cohesive around itself, as again, the language gives almost no tools to keep things modular and tidy and instead rely on the programmer. The good news is that for a language like C there's a very close translation to the machine code that will be eventually executed on the computer, which means there's little to no abstraction in the code and it becomes quite easy to program, at least at a basic level.

  • @leizie353
    @leizie353 2 роки тому +1

    This is the first video I watched on your channel and I like your humor, you got yourself a new subscriber!

  • @A_Kiwi.
    @A_Kiwi. 2 роки тому +126

    not only he types the 'hello world' stuff. he literally explains it

    • @electricz3045
      @electricz3045 2 роки тому +6

      PLUS HE ADDS "," THIS IS SICK WHAT DA HELL??

    • @Markomilicic012
      @Markomilicic012 2 роки тому +1

      *ben_voice* yes

    • @mrED123
      @mrED123 2 роки тому +1

      @@electricz3045 haha, i dont get it

    • @comicspace8034
      @comicspace8034 Рік тому

      @@Markomilicic012 if benvoice = 1
      say ("b e n")

  • @rafsanrisvirokon1443
    @rafsanrisvirokon1443 2 роки тому

    Awesome bro , I am watching this video in 2022 and its helps a lot

  • @creapeys
    @creapeys 2 роки тому +5

    I’ve been learning C# as my first language. It looks scary, but it’s actually pretty easy and is super versatile.

    • @zsszeli
      @zsszeli 2 роки тому

      I am started learning it either. It still look scary to me lol

    • @mihaidragnea9785
      @mihaidragnea9785 2 роки тому

      Never got pased the scary phase. Curently learning python.
      Update: I can say I have gotten past the scary phase and I have learned the basics.

    • @_Enderpuff
      @_Enderpuff Рік тому +1

      C# isn't scary when you learnt java first! Even because C# is basically Java++ lol

  • @hamburger_eatspie
    @hamburger_eatspie 2 роки тому +1

    Ardens: (coding stuff)
    The Fire Alarm: *BEEP!*

  • @ramok1303
    @ramok1303 2 роки тому +9

    Well, this is absolutely amazing! Really well animated, funny, funny, informative and funny. I've subscibed and I wish more people to know your great videos. Good luck.

  • @harasen_haras5
    @harasen_haras5 2 роки тому +1

    The way you described what Scratch is used for. lol
    As somebody who has used Scratch for a decade, I can say that although kids can use it to make some little things, it can also be used for making advanced projects.

  • @harelrubin1432
    @harelrubin1432 2 роки тому +6

    btw in c#, you can import "system"
    and not type "system." at the start of the "console.writeline"
    edit: in c#, you don't have to write "string [] arg" and you also don't have to write public at the start of main

    • @malcomthonger
      @malcomthonger 2 роки тому +4

      You can also import System.Console; and just type WriteLine("");

    • @harelrubin1432
      @harelrubin1432 2 роки тому +1

      @@malcomthonger wow, i didn't know that

  • @bananman3462
    @bananman3462 2 роки тому +2

    Wow the js in my subscribe button worked! Thank you so much!

  • @EasonTek
    @EasonTek 2 роки тому +39

    just to note: C++ *IS* a superset of C, take C code, throw it in a C++ compiler and it works fine. C++ is just C with OOP injected into it, you dont have to touch OOP to know C++

    • @xrafter
      @xrafter 2 роки тому +3

      Objective-C someone said is the C with objects not c++.
      C++ is no longer a superset of c - another one said.
      C++ compilers will through errors sometimes in C code(depends in the compiler u use).

    • @EasonTek
      @EasonTek 2 роки тому

      @@xrafter i experienced no issues with compilers, and Objective-C is just object oriented C for NEXTStep only

    • @biskitpagla
      @biskitpagla 2 роки тому +5

      You're making everyone more confused than they already are. C++ isn’t an exact superset of C anymore, the two languages have diverged long since.
      And "C++ is just C with OOP injected into it" is just a downright awful way to put it. C++ has good support for generic programming and OOP, these two are the primary reasons for its popularity. Modern C++ is all about slowly adopting functional programming patterns. All these features also enabled C++ to have the extensive standard library that it has. All these important af things are lacking in C. And from C's perspective, C is maintained as a timeless language, almost every language has ways to interact with programs written in C and almost every platform has a C compiler. These along with many other traits are the reason why so many APIs are written in C.
      We really shouldn’t oversimplify things, this just confuses more people and they end up misinformed.

    • @ajtan2607
      @ajtan2607 2 роки тому +4

      @@EasonTek
      char* a = malloc(10);
      char b[5] = "hello";
      There, compile that with a C++ compiler.
      My point here is that not all valid C codes are valid C++ codes. C++ has strong type checking which, in most cases, disallows direct assignment of two different pointer types (`malloc()` returns `void*` which requires casting to `char*`). C++ also requires the character array to be large enough to store all the characters in the string literal initializer including its embedded null character.

    • @edcdecl
      @edcdecl 2 роки тому

      You can’t just throw a somewhat complex C program into a C++ compiler and expect it to work.
      Take for example malloc:
      char* pChar = malloc(sizeof(char));
      Would not work in a C++ compiler because you need to cast it to a char*.
      You would need to do
      char* pChar = (char*) malloc(sizeof(char));

  • @winpezezz6476
    @winpezezz6476 2 роки тому +1

    I like how you said Scratch is the perfect language to start with for kids
    Me (I'm a kid btw): ROBLOX STUDIO (Lua), SCRATCH, PYTHON, JAVASCRIPT, HTML, JAVA and more at the same time lol

  • @kcvinu
    @kcvinu 2 роки тому +4

    In Odin, I can write a hello world like this
    import "core:fmt"
    main :: proc() {
    fmt.println("Hello, world !")
    }
    In D,
    import std.stdio;
    void main() {
    writeln("Hello, world !") ;
    }
    In Nim,
    echo("Hello, world !")
    In FreeBasic
    print("Hello, world !")

    • @tristanmisja
      @tristanmisja 2 роки тому

      Half if those languages I've never heard of

    • @kcvinu
      @kcvinu 2 роки тому

      @@tristanmisja Try them. They are nice languages.

  • @ABCDEF-ek7ni
    @ABCDEF-ek7ni 2 роки тому

    Really helpful, useful & confusion free video👍
    I have a request to make a video on difference b/w Machine, object oriented etc languages Concept plus add Html in it too for concept clearing.

  • @notthatntg
    @notthatntg 2 роки тому +9

    Actually, Hello, World! in C# uses Console.WriteLine(); it can be interchanged with the System variant.
    (great use of a semicolon; as a clause breaker and end of line)

    • @DeoIgnition
      @DeoIgnition 2 роки тому +4

      Hi, the entire Console class exists under the System namescape, the reason he added it in front of the Console.WriteLine() is because he did not import it with a using System; statement, doing one of the two is required to access the Console class and thus use Console.WriteLine(). Hope this helps! (unless you mean something else by your comment lol)

  • @algis-kun8777
    @algis-kun8777 2 роки тому +4

    C++ is a superset of C which adds object-oriented syntax and features to C. The thing that confuses beginners is that C++ has overlapping libraries that are optimized to utilize the object oriented classes, data types and new features implemented in C++.

  • @meawmeaw3083
    @meawmeaw3083 2 роки тому +34

    I didn't think that C# would be the hardest, I even thought it wouldn't be included in the list.
    Also you can just type : using System;
    and after that you can just type Console.WriteLine("Hello, World!");

    • @Quique-sz4uj
      @Quique-sz4uj 2 роки тому +4

      Yeah or in the new versions just Console.WriteLine("Hello World");

    • @MattSuguisAsFondAsEverrr
      @MattSuguisAsFondAsEverrr 2 роки тому

      More recent updates made it so that you could just type System.Console.WriteLine("Hello, world !"); and that's it

    • @ИльяВитцев
      @ИльяВитцев 2 роки тому

      @@MattSuguisAsFondAsEverrr My favourite update to C# would still be the one that allowed programmers to write List list = new (); instead of List list = new List();

    • @masterflitzer
      @masterflitzer 2 роки тому +1

      @@ИльяВитцев "var list = new List()" is still the best imo, i always use implicit type (var) except the right side doesn't tell me intuitively what type it returns e.g. "List list = GetDataFromMyFunction()"

  • @garrypierce8593
    @garrypierce8593 Рік тому

    I like how you used welsh in the language bit for hello. Hello from wales!

  • @_abdul
    @_abdul 2 роки тому +99

    Halfway through this I thought it's a top tier hundreds of thousands subscriber kinda channel. Preety great video dude. Just Subbed. Wishing this channel a great success if you are planning to continue this.

    • @Ardens.
      @Ardens.  2 роки тому +5

      oh no I wish 😂 but thank you that means a lot

    • @VerdantGMD
      @VerdantGMD 2 роки тому

      Oh wait its not a 100k+ subs channel?

  • @sfisher923
    @sfisher923 2 роки тому

    (Some popular applications of some of these languages I seen)
    Python - Ren'py for DDLC Mods and other VNs like Katawa Shoujo
    Lua - GMOD
    Scratch - Undertale Custom Battles (Easier then downloading Unitale and learning Lua or something for a few people)
    C++ - Minecraft Bedrock
    Java - Minecraft Java

  • @jackwijma65
    @jackwijma65 2 роки тому +1

    In Latin III and I must say, disappointed by the Latin “hello”. It’s salvete if speaking to multiple people, and salve if speaking to one person

  • @guypersson
    @guypersson 2 роки тому +5

    Object-orientation in C++ just basically means that most of the functionality lies within classes. You have a lot of options with classes (inheretence, polymorphism, etc.) which is what is the complicated part of it.
    C++ is very mature as it is right now and I would recommend for those choosing between C and C++. C++ has many safety features that prevent users from creating crashes when running their code (which was originally why C++ wasn't very user-friendly).
    C++ is only as complicated as it has features. Most of it relies on its libraries which can be complicated because of the amount of safety and features they have. But other libraries make it easier for people to understand and C++ is now getting very close to only needing to write much less code (for example: libraryname.function()) is all that would be needed to run them, alongside all the C++ safety being hidden out of site.
    C++ can also use C libraries, can also be used almost like C if need be. Once modules are fully implemented, C++ will also have easy plug-in library functionality like python. C++ is only getting better and now should be a great time to start learning it.

    • @SteelyGlow
      @SteelyGlow 2 роки тому +1

      For those choosing between C and C++ I would recommend both

    • @someguyfromanotherplanet5284
      @someguyfromanotherplanet5284 2 роки тому

      Rust > C++. C is just on it's own.

    • @casualyoutuber3160
      @casualyoutuber3160 2 роки тому

      Whilst C++ does have more safety features than C, it is still pretty easy to write dangerous code in C++.

  • @RealUnify
    @RealUnify 2 роки тому +2

    Actually scratch is becoming my life and making it go off limits is my goal.
    If I could make scratch actually extract the compiled code to the computer or make a tool for it. Just like turbowarp packager. But I want it the easy way. So I want the compiler to convert the .JSON file stored in the .sb3 file (which is a zip actually) I could convert this to a JavaScript project and make the project easy for JavaScript programmers and like.. have a little easy tool for them if they like :D

  • @tomerschannel3248
    @tomerschannel3248 2 роки тому +4

    Awesome vid! Learned and laughed a lot, keep up the good work :)

    • @Ardens.
      @Ardens.  2 роки тому +2

      I didn't think people would still be commenting on this 😂 I'm glad you found it educational & entertaining. And I will thank you so much

  • @DuskDual
    @DuskDual Рік тому +1

    Buttons can also be made using CSS and HTML by the way.

  • @DeathxStrike18
    @DeathxStrike18 2 роки тому +11

    C++ was created as an addition to C and was originally meant to work in tandem not as a separate language. Also C++ is not high level nor is C# related to C. C# was Microsoft version of Java so you could say it is the Javascript of C. In C# a namespace is a Superclass or to say a Script Library declaration it allows you to inherit other classes.

    • @masterflitzer
      @masterflitzer 2 роки тому +1

      a c# namespace is like a java package right? or are they different?
      and the statement "Javascript of C" is kinda weird imo

    • @DeathxStrike18
      @DeathxStrike18 2 роки тому +1

      @@masterflitzer Yes though not 1:1 it would be its equivalent. with C# the using statement such as Using System; System is a namespace. It allows bringing in classes externally or managing classes internally.
      The javascript of C is stating that C# is not the same as C/C++ just like Java and Javascript are not the same though they have similar names.

    • @masterflitzer
      @masterflitzer 2 роки тому

      @@DeathxStrike18 ok then I understood your reference correctly 👍
      just thought how are JS and Java related? but that was the point xD
      namenspace and package are very similar tho, in c# you write "using" and in java "import"...

  • @antontarnavskyi5188
    @antontarnavskyi5188 2 роки тому +4

    "It is perfect for little kids who just started learning how to code". Actually, this programming language says that it's perfect for "Grades 3, 4, 5, 6, 7, 8, 9, 10, 11, and 12". Anyway, it's perfect for my 9-year-old daughter (her 9th birthday was on Twosday).
    Edit: I added a dot after "Grades 3, 4, 5, 6, 7, 8, 9, 10, 11, and 12".

    • @codyboxy.wtflmao
      @codyboxy.wtflmao 2 роки тому

      bruh TWOSDAY, i'd bet you have twomore
      IM SO SORRY NO HARD FEELINGS

  • @cedsgm9205
    @cedsgm9205 2 роки тому +1

    I'm glad I choosed to learn JavaScript (and a little python) as they probably are the most simple
    Btw, I subbed

  • @Brahvim
    @Brahvim 2 роки тому +33

    C# is more of a clone of Java, _and what you wrote inside of the "namespace" was more similar to Java, wondering why you said that it was similar to C++..._

    • @Quique-sz4uj
      @Quique-sz4uj 2 роки тому +4

      Yeah, the *better* version of java

    • @masterflitzer
      @masterflitzer 2 роки тому +2

      yeah c# is java but better
      also he did a kinda weird example of hello world, you don't need a namespace and also you normally type "using System;" and then just Console.WriteLine()
      the only thing i don't like in c# is that everything begins with an uppercase letter (PascalCase) and java is more pleasant because you only use uppercase letters for new words and begin with lowercase (camelCase)

    • @Brahvim
      @Brahvim 2 роки тому

      @@Quique-sz4uj Haha, well,
      ...literally the only reason why I'm still here using Java are Microsoft's weird naming conventions :joy:
      Immediate edit: also, the Visual Studio updates.
      OOf.

  • @anthonygp2004
    @anthonygp2004 2 роки тому

    I really like Phyton. It is easy and you can spell out, what you are writing. Like: if variable > other variable : print("acces grand") else: print("acces denited")

    • @SkegAudio
      @SkegAudio 2 роки тому

      As a Rust user, there's a lot of assumptions made in that example lol

  • @joshvee7117
    @joshvee7117 2 роки тому +19

    5:09 lol 😂 That made me laugh more than it should have. Take my thumbs up 👍🏻

    • @Ardens.
      @Ardens.  2 роки тому +1

      I'm glad it did and I will 🙌

  • @ThisIsSidam
    @ThisIsSidam 2 роки тому

    First time watching your video, i can say that I love it.

  • @nmhero4824
    @nmhero4824 2 роки тому +3

    Try writing "Hello, World!" in Brainfuck

  • @sinvalfelisberto
    @sinvalfelisberto 2 роки тому

    Nicely done! Great job! Thanks for sharing!

  • @DJJW26
    @DJJW26 2 роки тому +2

    Imagine writing hello world with nothing but transistors

  • @Darknes711
    @Darknes711 2 роки тому +1

    ruby is for example used in the rpg maker. There are possibilities like changing the fighting style into action adventure instead of fighting turns.

  • @deinemama6303
    @deinemama6303 2 роки тому +3

    0:12 That's kinda really wrong. They're not just different by syntax, but also how the computer understands them. C and C++ for example are being compiled into assembly and then machine code before executing, making them really fast and efficient. Python, Java and C# are being interpreted, meaning at runtime you have a program running called the interpreter, which executes the script line by line while decoding them, making them slower, because they have to be translated while running the program, as opposed to being translated (compiled) before running the program.
    I'd also say that Python is not a good language to start. It misses to teach you important concepts in programming such as memory, data types, type casting and much more. I'd recommend to start with C, because it's not as complicated as C++ but provides you with pretty much all important concepts of programming. It is relatively easy to learn and uses simple syntax. Furthermore it has elements of OOP in form of structs. The major difference between a class in C++ and a struct in C are that you can't write functions inside a struct in C. But you could just make a header file and put all the functions in there. But that's just my opinion, also you hear a lot that people who started programming in Python have difficulties later when they want to try other languages, as opposed to C starters, which are already familiar with lots of the syntax of other languages, because many use very similar syntax to C

    • @lastsecondshot5779
      @lastsecondshot5779 2 роки тому

      My opinion on the C vs. Python as a first programming language debate is that if I absolutely knew that someone would be a computer scientist/software developer, I would have them learn C first. You’re right, the understanding it gives you of lower level concepts is very invaluable. Not only does it make assembly easier to learn, but it also gives you a better understanding of what goes on “under the hood” in higher level languages
      However, Python is a lot more practical language to learn for most people. It’s great for people who use a lot of math in their jobs but want to learn something with a larger scope than R or MatLab. It’s also a pretty solid generalist language, which can allow beginners to explore other fields without needing to learn another language
      C is a lot more difficult to learn compared than Python. It’s totally worth it to learn C first if you’re going to be programming for thousands of hours, but Python is great to learn first for people who might not want to dedicate that much time to it or aren’t sure if they do or not

    • @deinemama6303
      @deinemama6303 2 роки тому

      @@lastsecondshot5779 Fair point

  • @somerandomdude4588
    @somerandomdude4588 2 роки тому

    Love your laid-back attitude lmao

  • @rvn8552
    @rvn8552 2 роки тому +3

    5:33 no no no, C++ is LOW level. And by no means are they "kind of like" one another at all.

  • @samuraitatin
    @samuraitatin Рік тому

    I learn to program in C, so for me it's easy.
    great video Ardens, quite old since it's 2 years old, but great non the less.

  • @dieter_b8770
    @dieter_b8770 2 роки тому +3

    2:14 beep

  • @meehdrescher
    @meehdrescher 2 роки тому

    Aw man, i remember the good old days when I made my first isometric 3D racing game on scratch... I should update it tho

  • @notbillymays
    @notbillymays 2 роки тому +4

    just wanna say
    Unity is literally the only game engine that primarily uses c#

    • @ses694
      @ses694 2 роки тому

      what do the others use?

    • @notbillymays
      @notbillymays 2 роки тому

      @@ses694 Majority use C++ as primary
      if not, LUA, or some custom built language (godot lang, blueprints, etc.)

  • @orrinpants
    @orrinpants 2 роки тому +1

    Level 1.5: HTML
    How to do Hello, world!
    Coding:
    𝟷
    𝟸
    𝟹 𝙷𝚎𝚕𝚕𝚘, 𝚠𝚘𝚛𝚕𝚍!
    𝟺
    𝟻
    𝟼
    𝟽
    Result:
    Hello, world! (In Serif font)
    However, if you remove the vital code, it instantly becomes level 0, because it's just 𝙷𝚎𝚕𝚕𝚘, 𝚠𝚘𝚛𝚕𝚍!

  • @hailuong9295
    @hailuong9295 2 роки тому +24

    1. C# is more Java's clone than C++ related
    2. In C# 10 you just type System.Console.Writeline("Hello world!"); namespace and other stuff can be obmit
    3. In Java there does has "package" with act like namespace in C#, it put right head of your file
    4. Kotlin has package-thing too
    5. In C++ you can just write like C and it compiles perfectly fine too
    6. C# mainly serves for main programming language to develop Window application or some Window key feature, it is in the platform call .NET, and in .NET there are another languages like Visual Basic and F#
    7. C# compiles down to Intermediate Language - IL which then interprets directly by Common Language Runtime - CLR, it is not the same as Java Virtual Machine - JVM does
    8. C++ is not that Object Oriented Programming - OOP. Ruby in other hand is very Pure OOP, everything in Ruby even a number is an object and has its own method
    9. I will put C in 9 and C++ in 10 because the thing call "Header" or .h in them, it very crazy thing that you wish you never knew them before, and thank for existence of Java or C#

    • @matthewrichardson4435
      @matthewrichardson4435 2 роки тому

      Yeah, I know I'm 3 months late but I couldn't resist.
      Headers aren't too complicated, you can think of them as files which are directly "copied" into your source files by the pre-processor.
      Headers are imported into your source file using the #include directive which basically tells the pre-processor to directly "copy" the contents of the file to the #include line in the source (Hence the need for include guards e.t.c.).
      This is useful because it allows for forward declarations of classes and functions which can later be defined in a separate source file which also includes this forward declaration.
      This provides each source file the information needed to compile to object code before they are linked in the linking step of compilation.

    • @Dev-Siri
      @Dev-Siri 2 роки тому

      You don't even need System.Console.Writeline( );
      Just:
      Console.Writeline( );

    • @afoxwithahat7846
      @afoxwithahat7846 2 роки тому

      as people have already explained in other replies section, modern C# is more like it´s own thing.

  • @blueprogrammer503
    @blueprogrammer503 2 роки тому

    I love you!!!!! You didn't use "using namespace std" on the C++ part. Got scared a little

  • @dragontailsb1971
    @dragontailsb1971 2 роки тому +7

    0:06 cancer haha

    • @macgopal4882
      @macgopal4882 Рік тому +1

      🍔🍔🍔🍔👶2️⃣3️⃣🍔

    • @macgopal4882
      @macgopal4882 Рік тому +1

      🦀🦀🦀🦀🦀🦀🦀-it’s a reference to zodiac signs(I am talking about the crabs)

  • @danielcs235
    @danielcs235 Рік тому

    We're learning C++ in school and they taught us to use easier way of printing something, we use printf(); instead of std::cout and stdio.h instead of iostream.

  • @burgerfanman
    @burgerfanman 2 роки тому +10

    0:31
    "to whatever the f that is"
    Hold up, did you just insult C#, the best programming language to ever exist? I'll have you know that my great-great-great-grandfather fought in the programming war for the freedom of C# about 200 years ago. My great-great-great-great grandfather's only source of income came from writing books on the finer technical details of C#, and it's been that way in the family ever since. It may seem difficult or high-level to foreigners, but in fact it's a beginner-friendly language if you use it with Unity. I tell you, Unity is the country's best company. Most of my extended family found employment and friendly faces in Unity. The C# government constantly provides subsidies despite Unity always making a profit, so they have some of the cheapest goods on the market. It's unconstitutional for anyone to even MENTION filthy programming languages like Python or *shudders* Scratch.
    Oh you want to know the history of the great C# Empire? Well, sit down.
    After the Great Programming War, the C family was split into several smaller states who, despite being extremely similar, were all at constant war. In its darkest moment, on the verge of defeat, the fledgling C# nation was taken under the wings on the magnificent Javas. With the help of the Javas, the C# army pushed back the C++ and C invaders. They now reign supreme over the Central Programming Lands.
    So yeah that sums up why C# is a great programming language and why advanced programmers should definitely use it. Any questions?

    • @afraid2letgo
      @afraid2letgo 2 роки тому +3

      ratio

    • @XunnnD-hz4pi
      @XunnnD-hz4pi 2 роки тому

      Did you just spam click the word recommendations on your keyboard 😂

    • @XunnnD-hz4pi
      @XunnnD-hz4pi 2 роки тому

      @@afraid2letgo ratio what? and did you just liked yourself

    • @afraid2letgo
      @afraid2letgo 2 роки тому

      @@XunnnD-hz4pi someone's mad

    • @burgerfanman
      @burgerfanman 2 роки тому

      @@XunnnD-hz4pi No actually, I made the entire story on the spot.

  • @awmdanger9677
    @awmdanger9677 2 роки тому +1

    3:49
    Everything's perfect, rather than that mouse pointer on the middle right side.

  • @smartphonesammler3924
    @smartphonesammler3924 2 роки тому +5

    C# and C++ have nothing to do with each other. C# is high level and C++ low level because you have to take care of the memory management yourself. And C++ builds on C, it's basically C but object-oriented.

    • @Ardens.
      @Ardens.  2 роки тому +1

      ahhh okay..I don't know when that happened but C++ was considered a high level language because it's easily human readable

    • @kmatias2467
      @kmatias2467 2 роки тому +3

      @@Ardens. C# is microsoft Java

    • @ajtan2607
      @ajtan2607 2 роки тому

      "C++ is low level because you have to take care of the memory management yourself"
      No, you don't really have to manage everything yourself. We have smart pointers now (look up `std::unique_ptr` and `std::shared_ptr` which were added in the standard over a decade ago).
      Also, C++ is not a "low-level language". Compared to assembly, it is definitely a higher level language. It just has access to lower level features so you can manually optimize whenever necessary.
      The idea of a language level can be considered to be based on the amount and kind of abstractions a language can place on top of any operation.
      A long time ago, C++ was called "C with classes". That's not true anymore. It has evolved over time. They even changed the meaning of `auto`. Any remnant of C is now mostly just for backwards compatibility.

    • @squashedoranges7949
      @squashedoranges7949 2 роки тому +2

      C++ isn't necessarily object orientated, as it is a multi paradigm language. C/C++ are kind of inbetween high and low as they are compiled languages and a lot of stuff is done for you by the compiler, but they are capable of low level function, but for the most part they are both low-level languages.

    • @sh4rpys
      @sh4rpys 2 роки тому

      @@Ardens. C++ is more like a medium level language, it is readable, but have to manage memory yourself

  • @balrogofmoria6576
    @balrogofmoria6576 2 роки тому +1

    u forgot to put return 0 in the c "hello world", if ur funtion is a int type u must return something

  • @MrAnjcute
    @MrAnjcute 2 роки тому +19

    C++ is very different from c, but the reason why people call it a superset is because any program written in c is also valid in c++

    • @yjlom
      @yjlom 2 роки тому +4

      actually that's not really true
      to cite just a few c features off the top of my head that won't compile in standard c++:
      k&r function syntax, variable length arrays, _Generic, _Complex, implicit casting from void *, ...
      then you run into a lot of subtle differences in linkage rules etc.

    • @janisir4529
      @janisir4529 2 роки тому +1

      @@yjlom That's what I call "close enough"

  • @skeet-new
    @skeet-new Рік тому +1

    In batch script :
    :: Normal method
    @echo off
    echo Hello world!
    pause >nul
    :: Easy method
    echo Hello world!
    pause >nul
    :: So its easy lol
    :: Because batch is cmd script :D
    :: Im learning batch for 4-5 months ;)

  • @Dedicatedtolivinginthepast
    @Dedicatedtolivinginthepast 2 роки тому +5

    If you want to write Hello World in BASIC you do this:
    10 PRINT" HELLO WORLD!"
    20 GOTO 10
    this is how all versions of BASIC work unless you are using some super strange version that I have never heard of also some versions of BASIC have options for lower case

  • @gdgamer1232
    @gdgamer1232 Рік тому

    for c# you can grap a different approach like this one:
    `using System;` and then you don't have to write that extra System. thing, so the hello world program with this approach is gonna look something like this:
    using System;
    namespace Program {
    public class HelloWorld {
    static void Main(string[] args) {
    Console.WriteLine("Hello, world");
    }
    }
    }

  • @sterisharms1468
    @sterisharms1468 2 роки тому +7

    Haskell:
    main :: IO ()
    main = putStrLn "Hello, world!"
    Functions in haskell have the type signature on one line, and the start of the function body on the next, with the name and any inputs, a =, and then the function body. The IO () type basically means that it performs an io action but outputs no data.
    You could also define main as `print "Hello, world!"`, but print converts its argument to a string before printing it which isn't necessary here as hello world is already a string.

  • @s0g
    @s0g 2 роки тому +1

    Every dislike is from a real programmer who does research, uses modern best practices, and doesn't tell everyone who didn't think that your content was good to "**** off." Don't do that, it's mean.

  • @randombetters1823
    @randombetters1823 2 роки тому +6

    “All programming languages are the same logically”
    *laughs in esoteric programming languages*

    • @tristanmisja
      @tristanmisja 2 роки тому +1

      *laughs in assembly programming languages*

  • @i31cle
    @i31cle Рік тому +2

    Fun Fact: Lua is also the coding language that roblox uses.

  • @awwastor
    @awwastor 2 роки тому +6

    C++ is multiparadigm, less OOP. Java is strictly OOP. You can write strictly procedural code in C++ and if you try hard enough even functional. You can’t do so in Java.

  • @ИванПечерский-щ9л
    @ИванПечерский-щ9л 2 роки тому +1

    Assembler(NASM):
    section .data
    msg db "Hello world!", 0xa
    len equ $-msg
    section .text
    eax,4
    ebx,1
    ecx,msg
    edx,len
    int 80h
    mov eax,1
    int 80h

  • @robonoidx7484
    @robonoidx7484 2 роки тому +6

    2:03 "but this isn't a tutorial video, learn it on your own"
    *proceeds to teach us how to run "Hello, World" in 10 different languages*

    • @Ardens.
      @Ardens.  2 роки тому

      that's funny lol, thanks for the laugh

    • @robonoidx7484
      @robonoidx7484 2 роки тому

      @@Ardens. OMG YOU ACTUALY REPLIED, BIG FAN

  • @swwox
    @swwox 2 роки тому +1

    Very entertaining to watch tho some parts weren't right but it is what it is still good vid

    • @Ardens.
      @Ardens.  2 роки тому

      yes, I was negligent, I'll do better. But I'm glad you still like it

  • @dtgreat9279
    @dtgreat9279 2 роки тому +5

    4:34 A SWEAR HUH! YOU SHOULD BE CANCELED!

  • @mrED123
    @mrED123 2 роки тому +1

    4:40 no axing allowed.

  • @likezoinks2739
    @likezoinks2739 2 роки тому +4

    C# isn't as bad as it's made to sound; sure there's some issues but they're easily addressed. Instead of including all that other nonsense (which confuses me too) you can just do Console.WriteLine("Hello, world!");
    That works in newer versions and you don't even have to include the namespace or anything. Also you don't have to include what system you're using, unless it's a system that isn't a "default," like Collections or Drawing.

  • @D1_Meatrider
    @D1_Meatrider 2 роки тому

    I code using scratch I know from experience it makes coding easier but eventually it’s so complicated to do things that you should just learn to code it, it makes coding easier but making it actually work harder