Running "Hello World!" in 10 Programming Languages

Ойын-сауық

"Hello, world" jokes aren't funny.
#programming #tech #computerscience
💻 Instagram: / im.ardens
💻 Discord: / discord
💻 GitHub: github.com/myNameIsArdens

Пікірлер: 1 600

  • @Ardens.
    @Ardens.2 жыл бұрын

    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 жыл бұрын

    Really Cool Video

  • @highgaming6444

    @highgaming6444

    2 жыл бұрын

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

  • @Abhinav-Bhat

    @Abhinav-Bhat

    2 жыл бұрын

    @@highgaming6444 Yes really

  • @gersom4347

    @gersom4347

    2 жыл бұрын

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

  • @uPilot

    @uPilot

    2 жыл бұрын

    can you say hi to me huge fan

  • @ajtan2607
    @ajtan26072 жыл бұрын

    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 жыл бұрын

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

  • @ajtan2607

    @ajtan2607

    2 жыл бұрын

    @@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 жыл бұрын

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

  • @tbmj

    @tbmj

    2 жыл бұрын

    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 жыл бұрын

    @@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
    @alkhiljohn76402 жыл бұрын

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

  • @pothangus1118
    @pothangus11182 жыл бұрын

    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

  • @f4road

    @f4road

    2 жыл бұрын

    @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 жыл бұрын

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

  • @Top4ickP

    @Top4ickP

    2 жыл бұрын

    6:38 roblox studio

  • @techyik

    @techyik

    2 жыл бұрын

    @Oreo Dracula me too

  • @robonoidx7484
    @robonoidx7484 Жыл бұрын

    0:53 best part

  • @amproaltlol3

    @amproaltlol3

    Жыл бұрын

    HEHEHEHA

  • @h3nix350

    @h3nix350

    Жыл бұрын

    Why dont u play with lego blocks

  • @cn-ml
    @cn-ml2 жыл бұрын

    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

    Жыл бұрын

    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

    Жыл бұрын

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

  • @cheesierglint02

    @cheesierglint02

    Жыл бұрын

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

  • @varjosenfrans

    @varjosenfrans

    Жыл бұрын

    What even the other scrips do?

  • @tcg1_qc

    @tcg1_qc

    Жыл бұрын

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

  • @friend7120
    @friend71202 жыл бұрын

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

  • @Ardens.

    @Ardens.

    2 жыл бұрын

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

  • @tristanmisja

    @tristanmisja

    2 жыл бұрын

    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

  • @user-qp3qj2jv6f

    @user-qp3qj2jv6f

    2 жыл бұрын

    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 жыл бұрын

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

  • @supermalavox
    @supermalavox Жыл бұрын

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

  • @Iawait

    @Iawait

    Жыл бұрын

    Wow ur so cool.

  • @noided-insight537

    @noided-insight537

    Жыл бұрын

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

  • @supermalavox

    @supermalavox

    Жыл бұрын

    @@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

    Жыл бұрын

    @@supermalavox idk man sounds like a commercial to me

  • @supermalavox

    @supermalavox

    Жыл бұрын

    @@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.

  • @mac3615
    @mac36152 жыл бұрын

    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

  • @chixenlegjo
    @chixenlegjo2 жыл бұрын

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

  • @tristanmisja

    @tristanmisja

    2 жыл бұрын

    Definitely! Especially Piet.

  • @Ardens.

    @Ardens.

    Жыл бұрын

    kzread.info/dash/bejne/i6egx8Zxd9mxpc4.html

  • @Louisianish
    @Louisianish2 жыл бұрын

    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 жыл бұрын

    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 жыл бұрын

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

  • @equinox2584

    @equinox2584

    2 жыл бұрын

    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 жыл бұрын

    @@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 жыл бұрын

    C hashtag

  • @ramok1303
    @ramok13032 жыл бұрын

    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.

  • @ANTUBER
    @ANTUBER Жыл бұрын

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

  • @makkie8593

    @makkie8593

    Жыл бұрын

    💯💯 im subbing

  • @lucassantossj

    @lucassantossj

    Жыл бұрын

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

  • @Aestraa
    @Aestraa2 жыл бұрын

    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 жыл бұрын

    Thank you for your kind words :)

  • @NOT_A_ROBOT

    @NOT_A_ROBOT

    2 жыл бұрын

    why are there 2 3s

  • @Scotty-vs4lf

    @Scotty-vs4lf

    2 жыл бұрын

    @@Ardens. "crip" tology lmao

  • @Ardens.

    @Ardens.

    2 жыл бұрын

    @Scotty1286 peep game👀

  • @ch4o7ic8
    @ch4o7ic8 Жыл бұрын

    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

  • @no-ld3hz
    @no-ld3hz2 жыл бұрын

    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

    Жыл бұрын

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

  • @AlexGoosan

    @AlexGoosan

    Жыл бұрын

    Also you can create addons for Garry's Mod

  • @Indocryptic

    @Indocryptic

    Жыл бұрын

    roblos

  • @EchossHereMate
    @EchossHereMate2 жыл бұрын

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

  • @electricz3045

    @electricz3045

    2 жыл бұрын

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

  • @Picked_MarkoMilicic

    @Picked_MarkoMilicic

    2 жыл бұрын

    *ben_voice* yes

  • @mrED123

    @mrED123

    Жыл бұрын

    @@electricz3045 haha, i dont get it

  • @comicspace8034

    @comicspace8034

    Жыл бұрын

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

  • @Creepyslandofdreams
    @Creepyslandofdreams2 жыл бұрын

    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 жыл бұрын

    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

  • @AFF-CaptainFPS

    @AFF-CaptainFPS

    2 жыл бұрын

    @@craftlofer9974 learn html and css and javascript i suggest

  • @kingcobra3329

    @kingcobra3329

    2 жыл бұрын

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

  • @Roxve

    @Roxve

    2 жыл бұрын

    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

  • @zumbi2009
    @zumbi2009 Жыл бұрын

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

  • @fikkitchen
    @fikkitchen2 жыл бұрын

    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.

  • @Salted_Potato
    @Salted_Potato2 жыл бұрын

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

  • @Ardens.

    @Ardens.

    2 жыл бұрын

    Thank you! And thank you for your support :)

  • @ApzyteGamer
    @ApzyteGamer Жыл бұрын

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

  • @leizie353
    @leizie3532 жыл бұрын

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

  • @codebox.O_o
    @codebox.O_o Жыл бұрын

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

  • @Ardens.

    @Ardens.

    Жыл бұрын

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

  • @elija_wav
    @elija_wav Жыл бұрын

    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

    Жыл бұрын

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

  • @celery7810

    @celery7810

    Жыл бұрын

    @@Zamoksva that sounds like bad practice

  • @tomerschannel3248
    @tomerschannel32482 жыл бұрын

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

  • @Ardens.

    @Ardens.

    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

  • @somerandomdude4588
    @somerandomdude4588 Жыл бұрын

    Love your laid-back attitude lmao

  • @harasen_haras5
    @harasen_haras52 жыл бұрын

    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.

  • @emperorj4783
    @emperorj47832 жыл бұрын

    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

  • @_abdul
    @_abdul2 жыл бұрын

    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 жыл бұрын

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

  • @VerdantGMD

    @VerdantGMD

    2 жыл бұрын

    Oh wait its not a 100k+ subs channel?

  • @ABCDEF-ek7ni
    @ABCDEF-ek7ni Жыл бұрын

    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.

  • @sinvalfelisberto
    @sinvalfelisberto Жыл бұрын

    Nicely done! Great job! Thanks for sharing!

  • @guypersson
    @guypersson2 жыл бұрын

    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

    Жыл бұрын

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

  • @someguyfromanotherplanet5284

    @someguyfromanotherplanet5284

    Жыл бұрын

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

  • @casualyoutuber3160

    @casualyoutuber3160

    Жыл бұрын

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

  • @user-lx9nk7vf8c
    @user-lx9nk7vf8c2 жыл бұрын

    3:30 - No whitespace before curly bracket. Me: "I see an error"

  • @voidentityUTX
    @voidentityUTX Жыл бұрын

    "what are those you may axe? don't axe me."

  • @paperfrogburger7169
    @paperfrogburger71692 жыл бұрын

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

  • @kolins.4356
    @kolins.43563 жыл бұрын

    Ernie, Bernie my jellyfish brotha!💯 lmao what’s up Arden’s my bro, keep up the good work on your videos, they’re mad funny and informative.

  • @Ardens.

    @Ardens.

    3 жыл бұрын

    BOOYAGA! lol Thanks bro. I will 💯

  • @QuantumScratcher
    @QuantumScratcher2 жыл бұрын

    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 жыл бұрын

    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)

  • @rafsanrisvirokon1443
    @rafsanrisvirokon1443 Жыл бұрын

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

  • @stickguy9109
    @stickguy91092 жыл бұрын

    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

  • @creapeys
    @creapeys2 жыл бұрын

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

  • @zsszeli

    @zsszeli

    Жыл бұрын

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

  • @mihaidragnea9785

    @mihaidragnea9785

    Жыл бұрын

    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

    Жыл бұрын

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

  • @fluffydoggo
    @fluffydoggo2 жыл бұрын

    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

  • @gamer-mj9ee
    @gamer-mj9ee Жыл бұрын

    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)

  • @scratchpad7954
    @scratchpad79542 жыл бұрын

    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 жыл бұрын

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

  • @ignacioariellopez8491

    @ignacioariellopez8491

    Жыл бұрын

    @@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.)

  • @harelrubin1432
    @harelrubin14322 жыл бұрын

    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 жыл бұрын

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

  • @harelrubin1432

    @harelrubin1432

    2 жыл бұрын

    @@malcomthonger wow, i didn't know that

  • @SwankemasterSupreme
    @SwankemasterSupreme Жыл бұрын

    As a scratcher, you haven’t even *scratched* the surface of how many possibilities there are.

  • @meawmeaw3083
    @meawmeaw30832 жыл бұрын

    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 жыл бұрын

    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

  • @user-qp3qj2jv6f

    @user-qp3qj2jv6f

    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 жыл бұрын

    @@user-qp3qj2jv6f "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()"

  • @algis-kun8777
    @algis-kun8777 Жыл бұрын

    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++.

  • @dimi5862

    @dimi5862

    Жыл бұрын

    using namespace std;

  • @cuboidraptor2506

    @cuboidraptor2506

    8 ай бұрын

    Note: C++ Isn't a strict superset...

  • @garrypierce8593
    @garrypierce8593 Жыл бұрын

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

  • @KrysaOwO
    @KrysaOwO Жыл бұрын

    Assembler: this little maneuver is gonna cost us 51 years

  • @ziaulhasanhamim3931
    @ziaulhasanhamim39312 жыл бұрын

    In c# you do this too. One line hello world. Console.WriteLine("Hello world"); But you need c# 9 or above

  • @EasonTek
    @EasonTek2 жыл бұрын

    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 жыл бұрын

    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

  • @raianmr2843

    @raianmr2843

    2 жыл бұрын

    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 жыл бұрын

    @@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.

  • @abcdxcxd8280

    @abcdxcxd8280

    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));

  • @sedate4192
    @sedate4192 Жыл бұрын

    "It took awhile to make, but you don't care about that." Lol.

  • @blueprogrammer503
    @blueprogrammer503 Жыл бұрын

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

  • @nmhero4824
    @nmhero4824 Жыл бұрын

    Try writing "Hello, World!" in Brainfuck

  • @kwekker
    @kwekker2 жыл бұрын

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

  • @olavmulder1514

    @olavmulder1514

    Жыл бұрын

    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

    Жыл бұрын

    @@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

    Жыл бұрын

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

  • @deepblueharvest

    @deepblueharvest

    Жыл бұрын

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

  • @bananman3462
    @bananman34622 жыл бұрын

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

  • @ezmarket1297
    @ezmarket1297 Жыл бұрын

    The “Crip tology” got me cuz!! 🤣🤣🤣

  • @iamyourdeitysatanshallrun9383
    @iamyourdeitysatanshallrun93833 жыл бұрын

    This guy is funny I subscribed, thanks for the knowledge

  • @Ardens.

    @Ardens.

    3 жыл бұрын

    Thank you. Mad love

  • @HemmantthKStark
    @HemmantthKStark2 жыл бұрын

    make more of these videos mate . as a data engineer i enjoyed it a lot

  • @Ardens.

    @Ardens.

    2 жыл бұрын

    I'll do my best, I'm glad you enjoyed

  • @pietrogadaleta1840
    @pietrogadaleta1840 Жыл бұрын

    C#: "to run hello world is a little arcane" Assembly: "Bounjour"

  • @Darknes711
    @Darknes7112 жыл бұрын

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

  • @kcvinu
    @kcvinu2 жыл бұрын

    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.

  • @wesleymays1931
    @wesleymays1931 Жыл бұрын

    There's also Centurion machine code (the channel 'Usagi Electric' has been working with that a lot recently) But instead of printing "Hello, world!", he (accidentally) printed "HELLORLD!" instead, and I love that

  • @ryanrg1545
    @ryanrg15452 жыл бұрын

    from scratch which is just dragging 2 single blocks into a screen to C# which you need to have at least 7 lines to just input some "Hello World"

  • @felix6776_
    @felix6776_2 жыл бұрын

    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

    Жыл бұрын

    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

    Жыл бұрын

    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.

  • @joshvee7117
    @joshvee71172 жыл бұрын

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

  • @Ardens.

    @Ardens.

    2 жыл бұрын

    I'm glad it did and I will 🙌

  • @ThisIsSidam
    @ThisIsSidam2 жыл бұрын

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

  • @c00lkitty
    @c00lkitty Жыл бұрын

    “****ing nerd!” Literally every programmer ever: and I took that personally.

  • @DeathxStrike18
    @DeathxStrike182 жыл бұрын

    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 жыл бұрын

    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 жыл бұрын

    @@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"...

  • @celery7810

    @celery7810

    Жыл бұрын

    c++ is high level

  • @YourMom-rg5jk
    @YourMom-rg5jk2 жыл бұрын

    1:20 subbed lol that was funny

  • @user-yd2ee6sf8k
    @user-yd2ee6sf8k2 жыл бұрын

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

  • @yonatanchapal7800
    @yonatanchapal7800 Жыл бұрын

    And now you can add to your resume that you know 10 programming languages

  • @antontarnavskyi5188
    @antontarnavskyi51882 жыл бұрын

    "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".

  • @codebox.O_o

    @codebox.O_o

    Жыл бұрын

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

  • @Brahvim
    @Brahvim2 жыл бұрын

    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 жыл бұрын

    Yeah, the *better* version of java

  • @masterflitzer

    @masterflitzer

    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

    Жыл бұрын

    @@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.

  • @mattestrada01
    @mattestrada01 Жыл бұрын

    That reference to the coder in C is so accurate LMAO

  • @DakotaSsssssims
    @DakotaSsssssims Жыл бұрын

    The "fukin nerd go play with Lego blocks instea-" cracked me up lol

  • @deinemama6303
    @deinemama6303 Жыл бұрын

    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

  • @imbadatgaming4153

    @imbadatgaming4153

    Жыл бұрын

    Bro really write all of that and nobody liked it

  • @lastsecondshot5779

    @lastsecondshot5779

    Жыл бұрын

    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

    Жыл бұрын

    @@lastsecondshot5779 Fair point

  • @MrAnjcute
    @MrAnjcute Жыл бұрын

    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

    Жыл бұрын

    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

    Жыл бұрын

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

  • @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.

  • @mediatized9563
    @mediatized9563 Жыл бұрын

    in c# you also can do using System; namespace HelloWorld { class Hello { static void Main(string[] args) { Console.WriteLine("Hello, world!"); } } } and the way you did it was kinda weird because in C# the brackets are always under the line and not on it.

  • @billymays8864
    @billymays8864 Жыл бұрын

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

  • @ses694

    @ses694

    Жыл бұрын

    what do the others use?

  • @billymays8864

    @billymays8864

    Жыл бұрын

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

  • @squashedoranges7949
    @squashedoranges79492 жыл бұрын

    Would you be interested in creating your own esoteric programming language? I'd be happy to help.

  • @squashedoranges7949

    @squashedoranges7949

    2 жыл бұрын

    Just a note: I think your channel has great potential and I think creating a programming language that both you and your viewers can use and be creative with is a wonderful idea.

  • @Ardens.

    @Ardens.

    2 жыл бұрын

    @@squashedoranges7949 That is a great idea I would like to explore sometime in the future; I've never considered that. I'll keep it in my notes. And thank you.

  • @squashedoranges7949

    @squashedoranges7949

    2 жыл бұрын

    @@Ardens. Sounds awesome. If you want to keep in touch let me know how you'd like to do that.

  • @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"); } } }

  • @RealUnify
    @RealUnify2 жыл бұрын

    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

  • @rvn8552
    @rvn85522 жыл бұрын

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

  • @dieter_b8770
    @dieter_b8770 Жыл бұрын

    2:14 beep

  • @Reclinesmc
    @Reclinesmc2 жыл бұрын

    Dang this is actually quality content

  • @doctorblaze8754
    @doctorblaze8754 Жыл бұрын

    Number 11: ASM *video length has extended to 30 minutes*

  • @hailuong9295
    @hailuong92952 жыл бұрын

    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

    Жыл бұрын

    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

    Жыл бұрын

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

  • @afoxwithahat7846

    @afoxwithahat7846

    Жыл бұрын

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

  • @randombetters1823
    @randombetters18232 жыл бұрын

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

  • @tristanmisja

    @tristanmisja

    2 жыл бұрын

    *laughs in assembly programming languages*

  • @sfisher923
    @sfisher923 Жыл бұрын

    (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

  • @CruelKaizo310
    @CruelKaizo310 Жыл бұрын

    In C++ you can also use the C syntax for printing to the console, printf(“Hello World!”)

  • @burgerfanman
    @burgerfanman2 жыл бұрын

    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?

  • @roughlyunderscore

    @roughlyunderscore

    2 жыл бұрын

    ratio

  • @XunnnD-hz4pi

    @XunnnD-hz4pi

    2 жыл бұрын

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

  • @XunnnD-hz4pi

    @XunnnD-hz4pi

    2 жыл бұрын

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

  • @roughlyunderscore

    @roughlyunderscore

    2 жыл бұрын

    @@XunnnD-hz4pi someone's mad

  • @burgerfanman

    @burgerfanman

    2 жыл бұрын

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

  • @ChxrlieForever
    @ChxrlieForever2 жыл бұрын

    I’m a coder as a freshman high schooler and I agree on this. You deserve a sub. Keep up the hard work :)

  • @Ardens.

    @Ardens.

    2 жыл бұрын

    Thank you so much & I definitely will. I'm glad you could relate :) Share with your fellow coders 😂

  • @shredded-

    @shredded-

    2 жыл бұрын

    :)

  • @Othorius

    @Othorius

    2 жыл бұрын

    That's wassup! What language are you learning?

  • @ChxrlieForever

    @ChxrlieForever

    2 жыл бұрын

    Arcorei I learned HTML, Python, and JavaScript

  • @GCTTR612
    @GCTTR612 Жыл бұрын

    I love how he raises a gun in the middle of the person’s speech 😂😂😂😂😂😂

  • @meehdrescher
    @meehdrescher2 жыл бұрын

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

  • @sterisharms1468
    @sterisharms1468 Жыл бұрын

    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.

  • @dragontailsb1971
    @dragontailsb19712 жыл бұрын

    0:06 cancer haha

  • @macgopal4882

    @macgopal4882

    Жыл бұрын

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

  • @macgopal4882

    @macgopal4882

    Жыл бұрын

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

  • @fujiwaranovari
    @fujiwaranovari2 жыл бұрын

    I felt identified with the "I'm only 17" part, a lot.

Келесі