Python Resources

C# vs Python: What’s the Difference?

Comments (3)
  1. Rueben says:

    I love the article. I spoke with a computer science grad. They indicated python is like driving a automatic vehicle and C++ is like driving a manual vehicle. If you could learn how to code C++ then you can do any language. However, i started with python and as my cousin said, it is easy to learn and simplicity is at its finest using the language.

    1. Bart says:

      Well, C, C++ is more used for hardware programming, but this is about C# not C, though closely related C is an entirely different lingo, low level vs high level

  2. Leonard says:

    I think this article doesn’t do justice to the nature of type safety. If C# gets mad at the programmer for something type related, the equivalent in Python is not that it just works and the program was written faster; it is that the program crashes because the requested method was not found on the object, maybe even far away from where the error was actually done, and way later, in production code because the scenario was very edge-case.

    Also, C# is only a compiled language to a certain degree. It is compiled sure, but it is compiled to the Common Intermediate Language, which runs on platform specific interpreters run-time. Highly optimiced code in a language like C or Fortran would probably trounce C# in performance, as they don’t have this extra step of translation run-time; this in turn means that Python, a scripting language, can beat C# in performance if one calls mostly for example NumPy methods, which are actually calls to C code under the hood.

Leave a Reply

Your email address will not be published. Required fields are marked *

Tell us about you and we will match you with top rated bootcamps with flexible payment options, income sharing (ISAs), or money-back guarantees.

Career Karma

Find the right bootcamp for you

By continuing you indicate that you have read and agree to
Career Karma Terms of Service and Privacy Policy

A person sitting on a dark green chair with a laptop on their knee