DEV Community

mohammadfasihi
mohammadfasihi

Posted on

Disadvantages Of python

Slow speed:
Python uses interpreter that loads it line by line instead of compiler that executes the whole file at once. This makes compilation slower and tends to perform slowly. This is the major reason competitive programmers don't use python. C++ provides more computation per seconds instead of python. Moreover this is why python is not extensively used in application development.
Error detection in codes:
Since python uses interpreter the error in codes does not come up during code compiling. Python uses dynamically typed variables which makes testing more hectic. All these errors came out to be a run-time error which no developers want in their program. This makes python less usable for GUI applets developments.
Weak in mobile devices:
We have seen python in web servers and desktop applications along with scripts that its used for. But it is not considered favorable for mobile devices because it uses more memory and slow processing compared to other languages.
Moving on with this article on advantages and disadvantages of Python,
Large memory consumption:
Python design structure is such that it uses large memory while processing as compared to other languages as C/C++. This makes Python a complete no no for development under tight memory restrictions.
Conclusion:
The language is seen as a less suitable platform for cellular development and game development. It's far frequently used on desktop and server, but there are the handiest several mobile packages that were used majorly with Python. Every other drawback Python has is the runtime errors. The language has a whole lot of design limitations .Python executes with an interpreter instead of the compiler, which speeds down the performance.
Lets look into the Final thoughts.
Final thoughts:
Although there are many disadvantages with python but we can clearly see that the advantages outweigh the disadvantages by a fair margin. Every programming language has its own forte and areas of interest that developers tend to get excited about. Python has its own areas where it is being used extensively. Although in the areas like web development JavaScript is mainly used, similarly in game development unity or real engine is used. Python finds it usages in scripting, data processing, numerical mathematics and research.

Retrieved from
https://translate.googleusercontent.com/translate_c?depth=2&hl=fa&nv=1&prev=search&rurl=translate.google.com&sl=en&sp=nmt4&u=https://www.edureka.co/python-programming-certification-training&usg=ALkJrhj5ANtR2kPOizRAlT0uMmJekxL1mw

Latest comments (0)