Explore your training options in 10 minutes

X

Back






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 *

Find the right bootcamp for you
X
GET MATCHED
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.
X
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.