Explore your training options in 10 minutes



C# vs Python: What’s the Difference?

Comments (3)
  1. Avatar 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. Avatar 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. Avatar 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 *

Many careers in tech pay over $100,000 per year. With help from Career Karma, you can find a training program that meets your needs and will set you up for a long-term, well-paid career in tech.

Looks like your phone number is invalid.
Career Karma

Find the right bootcamp for you

By continuing you agree to our Terms of Service and Privacy Policy, and you consent to receive offers and opportunities from Career Karma by telephone, text message, and email.

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