Posts

Showing posts from October, 2020

C++ VS Python

Image
  C++ and python are two different language with different feature and different behavior. Both of these language have one thing in common i.e strong support to object oriented programming. Key difference between C++ and Python 1) Compilation :  C++ is compiled language, whereas python is interpreted language. As far as speed is concerned C++ run faster then python.               Python.                                C++ 2) Simplicity : Python with it's simplicity and ease to use feature allow us write concise, easily readable code, etc. This is very useful when we develop complex application like machine learning. Thus Python scores on this parameter especially when we need to choose between C++ and Python for developing Machine learning application.                  Python.                        C++ 3) Syntax : In C++ there is demarcation of the code by using block enclosed in {}, semicolon indicating end of statement. Thus in C++ statement are well organized. Whereas in Pyt