Python vs C# vs Java. Learn the differences and similarities of these languages

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ส.ค. 2024
  • In this video, we explore the various surface level and under the hood differences between Python (CPython), C# (.Net), and Java. All three are general purpose languages, but there are differences that appeal to different programmers as well as which is better suited to a particular task.
    If you are looking for a quick comparison, take a look at this video!
    Check out our website at www.McCullough...

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

  • @cuatro336
    @cuatro336 ปีที่แล้ว +12

    Most of my job is automating data manipulation, so Python is my go-to. But if it isn't the best tool for the job, I'll switch to C# or Java. These are tools. Some devs act like you attack their religion if you say one language is better at one thing than another.

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

    Great comparison! Thank you for this!

  • @dmytroshchotkin2939
    @dmytroshchotkin2939 ปีที่แล้ว +3

    Thanks a lot for the explanation! Very useful and clear.

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

    I love your explanations!!!!! Great videos on your channel!!!!!

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

    Thanks for this great video

  • @miansherry6453
    @miansherry6453 2 ปีที่แล้ว

    Thank you sir........ very good explanation.........

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

    I like Python and C# (through .Net Framework or .Net Core). C# is great for mid-size business and ok for large business. Python is great for small business, ML, and scripts.
    Java is a little bit better for 24/7 large business, 2nd best choice for ML, and is slightly faster than C#. It also pays more than the average C# programmer.

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

      You stated that Java is faster? In what terms? What do you mean by faster?
      Do you have any benchmarks to prove it?

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

      @@inny2900 Going off benchmark tests for small and large task loads. C# performed better for small to mid-sized tasks. Java did better for large non-stop tasks.

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

      @@inny2900 TH-cam doesn't allow links, but check geeksforgeeks.

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

      You comments don’t make sense. It’s what you do with them that counts.

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

      @@coderider3022 It makes perfect sense when you use them and try optimize the language for the right situation.

  • @mr_don_key
    @mr_don_key 5 หลายเดือนก่อน

    c# now has var you can use with variables, it's will auto guess the type and sets it.
    e.g. var bla, and later bla receive a string, it will assign the type string to bla

    • @McCulloughAssociates
      @McCulloughAssociates  5 หลายเดือนก่อน

      th-cam.com/users/shortsnnIPBjcHnjw

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

      @@McCulloughAssociates yes.. just mentioned it, because it was not in this video.

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

    Thank you! Good content.

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

    As a casual C# user, pyton seems horrible. OMG

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

    New subscriber. I’m about to start career change from teaching to software engineering. The software engineer program at my university offers two pathways, Java or C#. Which one would you suggest for marketability and job security?

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

      Learn both! Knowing multiple programming languages makes your better in all of them! There are lots of jobs in both, but organizations can be pretty monolithic, so do some research on the companies you would like to work for and see what they use.

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

      @@McCulloughAssociates Thank you for responding. Unfortunately, I can only take one at my University. Where would you suggest I learn C#? Coursera?

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

      www.udemy.com/course/getting-started-in-csharp/?referralCode=C3EF6A0C647E5FF02BB2

  • @Terracotta-warriors_Sea
    @Terracotta-warriors_Sea 2 ปีที่แล้ว

    I thought Python got compiled to byte code and ran on PVM like Java on PVM

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

      CPython does not. Pure interpretive.

    • @Modey3
      @Modey3 2 ปีที่แล้ว

      Your imported modules are converted to bytecode however at runtime there is no performance gain running from either source or byte code because the bytecode hasn’t been type checked.

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

    With AR/VR having the ability to take over our lives in the near future. C# can be used with Unity to create these apps that will take over out lives lol

  • @AndreCarneiro666
    @AndreCarneiro666 วันที่ผ่านมา +1

    For me the only reason for Java exist is portability. It's a awful language, extremely bureaucratic, the solution for dependencies is a nightmare and everything has XML involved which really sucks! Moreover, Java is BORING! Everything has to get more time to do comparing with any other program language.
    C# is very performant, but .NET is so fat that performance decreases over time when more and more components( which developer doesn't have any control over it) is added to the program. As a program language I have no complains about it except for some "excentric" and exclusive keywords and concepts. The problem is have to pay to access the productivity features on Visual Studio. And it's expensive!
    Python is slow! That is the problem! But, the simplicity(thus, productivity) is the trade-off. So true, that scients choose the language as main language to solve their problems. It has a ton of libraries for anything a developer need and the new versions is getting better regarding to the performance issues. The GIL(Global Interpreter Locker) is finally going to an end which will unleash threads for Python a real feature instead a pain in the ass. For web I think is the best of three languages.

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

    it seems Java never has a chance to be a mobile app, just remember Java is the native language for Android

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

      Yes & no. Android has its own bytecode, runtime and API. So not part of the “run anywhere Java”