C vs C++ | Which Should you Learn?

แชร์
ฝัง

ความคิดเห็น • 61

  • @mtsurov
    @mtsurov ปีที่แล้ว +150

    .NET : - come to my party, have a seat.
    C++: - come to my party, bring tools cause you'll be building a chair to sit on.
    C : - come to my party, ... chop a tree down on your way here, ....cause ....

    • @tweetyguy7347
      @tweetyguy7347 ปีที่แล้ว +1

      most accurate representation

    • @L1ghtOn3
      @L1ghtOn3 ปีที่แล้ว +33

      Assembly:- Welcome to the Matrix.
      Binary:- There is no party.

    • @KaustavMajumder
      @KaustavMajumder 7 หลายเดือนก่อน +2

      Also .Net: You cannot deploy a project on another computer because your customer is expected to be super tech-savvy and expected to have Visual Basic Power Packs and specific versions of .Net frameworks installed on their system. Meaning, you run on your own computer but cannot deploy anywhere else, pretty much.

  • @calebagbodeka
    @calebagbodeka ปีที่แล้ว +42

    I just finished your 10 hour video on C. You've come a long way. Keep growing man. I appreciate your effort

  • @eugenekwon256
    @eugenekwon256 ปีที่แล้ว +14

    Good point, I’ve been on the fence but I guess I should start investing time in C++ since I already know C.

  • @Paul-eb2cl
    @Paul-eb2cl ปีที่แล้ว +3

    Go with C++, I did, and it's okay. I now write C when I need. small footprint i.e. devices/drivers, and use C++ programs for apps (CMD line and GUI), and services.

    • @77seban
      @77seban ปีที่แล้ว

      Lucky U .. for me is hard to learn C and C++ 😮😢

  • @fadiabu-rjellah1842
    @fadiabu-rjellah1842 9 หลายเดือนก่อน +1

    You are absolutely right I agree with you

  • @malusmundus-9605
    @malusmundus-9605 ปีที่แล้ว +5

    I write C++... in the sense that I write C and like to use the stl sometimes.

    • @jasonenns5076
      @jasonenns5076 2 หลายเดือนก่อน +1

      Bjarne would not approve. But, I would like to ask: what is your use case?

    • @malusmundus-9605
      @malusmundus-9605 2 หลายเดือนก่อน

      @@jasonenns5076 What's the use case for preferring C-style C++? Simplicity... it can help with compile times as well. If you use raw pointers as opposed to smart pointers, you can eek out some performance. Binaries can be smaller. Plus, good C code is beautiful.
      Of course, there are plenty of downsides, it's about preference. I could never understand why anyone would want to use C++ style type casting, for instance.
      Also, C++ is totally fine! I love std::vector, std::unordered_map, std::set, etc.

    • @jasonenns5076
      @jasonenns5076 2 หลายเดือนก่อน

      @@malusmundus-9605 Okay... I personally would only use that style on embedded systems. I would use C's "inheritance" to avoid templates to decrease ROM size similar to how the source for git has a hash map.

  • @Khalid15325
    @Khalid15325 5 หลายเดือนก่อน +2

    And C is the C++’s mother 😉😉😉.

  • @DevlogBill
    @DevlogBill ปีที่แล้ว +1

    If you know your fundamentals of programming with JavaScript and Python. What can you build as a new programmer with C or C++? Is it possible to build anything with these programming languages as a somewhat newbie? Or do you need to be an expert in order to actually use the technology?

    • @gabrielbarrantes6946
      @gabrielbarrantes6946 11 หลายเดือนก่อน

      You will need to learn a lot more about the inner workings of memory and other things.

  • @MyCodingDiary
    @MyCodingDiary ปีที่แล้ว +1

    Your content is amazing, I just subscribed!

  • @Siissioe123
    @Siissioe123 ปีที่แล้ว +1

    And then there is me. And I think C is the most difficult, you need to learn low level stuff, and is basically assembly but a bit simpler (writing assembly is a pain the but). I had to write it once and I hate it, it’s simple but it is long and boring and you need to learn it twice (three times if you are interested in x86 architecture

  • @trijezdci4588
    @trijezdci4588 ปีที่แล้ว

    "It [C++] does a lot of things half well and it is a garbage heap of ideas that are mutually exclusive" -- Ken Thompson, Designer and implementor of Unix and Plan 9.

  • @MyCodingDiary
    @MyCodingDiary ปีที่แล้ว +1

    Subscribed and turned on notifications, I don't want to miss any of your content!

  • @__hannibaal__
    @__hannibaal__ 10 หลายเดือนก่อน +2

    No better than C, … , also C++.

  • @ThatGuy68580
    @ThatGuy68580 ปีที่แล้ว +14

    I think C++ is better for jobs?

    • @daghetto101
      @daghetto101 8 หลายเดือนก่อน

      Neither for both....

    • @HanBuz
      @HanBuz 7 หลายเดือนก่อน

      c# offer more becuz of unity

    • @razorblade413
      @razorblade413 3 หลายเดือนก่อน

      I think for indie games c could be better because c++ is really hard.

  • @ItsCOMMANDer_
    @ItsCOMMANDer_ 8 หลายเดือนก่อน +2

    Start with c, then cpp. Cpp is a mire usefull language, but c will help you starting to program. Its simple, easy to learn and can teach you most basic and most often needed programming pricipels.

  • @JassicaArboga
    @JassicaArboga ปีที่แล้ว +1

    Long time project = C. 3D graphics = C++

  • @wisteela
    @wisteela 8 หลายเดือนก่อน +1

    And say learn C first, then maybe C++

  • @joshparsons1485
    @joshparsons1485 ปีที่แล้ว +1

    Legitness

  • @anonsforever_
    @anonsforever_ ปีที่แล้ว +1

    I been wasting my time then. I may as well look for c++ videos instead to fall asleep to. 😅

  • @furkankaraslan9040
    @furkankaraslan9040 ปีที่แล้ว +2

    Could you please define what "learning" is for programming?

    • @Eren_Yeager_is_the_GOAT
      @Eren_Yeager_is_the_GOAT ปีที่แล้ว

      Learning the language

    • @furkankaraslan9040
      @furkankaraslan9040 ปีที่แล้ว +1

      ​@@Eren_Yeager_is_the_GOAT but what is learning? like won't you search up ever again the syntax once you learned?

    • @thingsiplay
      @thingsiplay ปีที่แล้ว

      @@furkankaraslan9040 Programming language is not just syntax. I don't know what you mean with your question. I mean you know what "learning" means, right? Why asking for a definition of the word "learning"? I don't get it. If you ever start learning a new programming language, then you will understand what the word means. Really I am not sure what you expect, I'm really confused, almost upset for no reason at the moment. :D

    • @Cauffe
      @Cauffe ปีที่แล้ว +1

      @@furkankaraslan9040 this is quite similar to linguistics as you learn how most languages works like subjects, verbs, nouns, etc. however each language has it's own syntax (grammar in linguistics) which you have to learn not memorize. you can't be a programmer without constantly learning new things as you can't just memorize them, you do by using these features and concepts again and again.

  • @mohdhammad4786
    @mohdhammad4786 9 หลายเดือนก่อน +1

    Should learn C first then C++.

  • @MichaelMurray5-hx1ml
    @MichaelMurray5-hx1ml 5 หลายเดือนก่อน +1

    how good is C plus plus #D

  • @SubZeRoy9
    @SubZeRoy9 ปีที่แล้ว

    Isnt c a simpler language but the stuff you will be using c for requires alot of prerequisite knowledge like process synchronization, memory management, hardware, etc. Idk I've never worked with c but my operating systems class sucks. Lol

  • @aperture0
    @aperture0 ปีที่แล้ว +8

    honestly learn cpp first, I wasted my time learning c first.

    • @visheshnowbut6841
      @visheshnowbut6841 6 หลายเดือนก่อน

      then you are an idiot 😂😂😂

  • @babis6764
    @babis6764 9 หลายเดือนก่อน +3

    Learn good C so you can appreciate C++ and have a better and deeper knowledge of the language

  • @pajeetsingh
    @pajeetsingh ปีที่แล้ว +2

    Casey mutario

  • @thingsiplay
    @thingsiplay ปีที่แล้ว +6

    My favorite part was "C++ is just a superset to C, with a few minor differences".
    If he only knew the power of the dark side (that is Rust).

  • @GmanGavin1
    @GmanGavin1 9 หลายเดือนก่อน +1

    I want to learn C but everything I want to do i.e. (Graphics programming, GUI, SDKs, ect...) are mostly just C++ libraries.
    I know I strongly prefer procedural programming over object oriented. OOP just feel like "you need to do it this way because" then people just keep conforming to it "just because". The annoyance I had using C# but the thing I loved when I moved to golang.

  • @petros3670
    @petros3670 ปีที่แล้ว +2

    C e c++ are not simple language

    • @mundoprogramado3106
      @mundoprogramado3106 11 หลายเดือนก่อน

      depende da sua capcidade de aprendizagem. Igual a matemática, para alguns é fácil trabalhar com números complexos.

  • @ajaypatro1554
    @ajaypatro1554 วันที่ผ่านมา

    What about cython

  • @Aspire40172
    @Aspire40172 9 หลายเดือนก่อน +2

    coding c after coding in python makes you know the value of python,c language is just so unnessary work

    • @rtfmmycompany4498
      @rtfmmycompany4498 16 วันที่ผ่านมา

      Then again I still prefer Perl c like syntax huge library just like Python but somehow easier to me,maybe is just preference thing...but that's how I roll.Then again Python is great but still interpreter language if u are doing app for Android you will use Java maybe,if u do computer game c++ or even c# which is close to java if u do website php, JavaScript and Python and Perl are universal

  • @yusufgncr4359
    @yusufgncr4359 ปีที่แล้ว +2

    Si oulus pulus

  • @QuantumLoops-j5i
    @QuantumLoops-j5i 7 หลายเดือนก่อน +1

    Who the hell are you

  • @shivAgar2020
    @shivAgar2020 ปีที่แล้ว +2

    are we using C anywhere?

    • @kartikchauhan2778
      @kartikchauhan2778 ปีที่แล้ว

      Embedded system, operating system etc .

    • @noxlupi1
      @noxlupi1 ปีที่แล้ว

      C is the preferred language for talking to hardware. Beside assembler. C is Mostly used for Operating systems and drivers.

    • @zytr0x108
      @zytr0x108 ปีที่แล้ว +2

      Embedded systems, operating systems and system applications like Desktop Environments. Also for libraries, since it is the common ground that all Programming languages can easily bind to. If you want to create libraries for Python, Julia or Lua, C is probably the best choice.

  • @LmR7711
    @LmR7711 ปีที่แล้ว +1

    This is the number on the Pokémon card 44N-DDGG-HCH-C99