Python and C Contrast

So far, I have the greatest exposure to two languages ​​should be the python and C language.

Personal understanding

  1. execution speeds, python as interpretative language, C language compiler (Compiler required)

  2. C is based on achieving the python, C pointer many operations, there is no to the python

  3. Different data types, Python is not necessarily defined data types, and data type C compared to many, such as list, tupel, dic like.

  4. C is a process-oriented language, the python introduced classes and objects can be understood as an object-oriented language. Therefore, to achieve the same function, the code amount C is much larger than python

 

Guess you like

Origin www.cnblogs.com/ivyharding/p/11098374.html