Why isn't Python the Programming Language for You?

Asked by Last Modified  

Follow 1
Answer

Please enter your answer

Python has notable strengths: clean, concise, readable syntaxrich librariestons of documentation and user supportPython also has notable weaknesses: It’s not as versatile as Java or C++. There are many areas where you simply cannot use Python.Python is among the slowest of the major programming...
read more
Python has notable strengths: clean, concise, readable syntaxrich librariestons of documentation and user supportPython also has notable weaknesses: It’s not as versatile as Java or C++. There are many areas where you simply cannot use Python.Python is among the slowest of the major programming languages in terms of execution speed.Python is hobbled by the GIL (global interpreter lock) for concurrent programming.Sometimes, you want or need hard static typing, not merely type annotations.Python has a stupid implementation of lambdas: you cannot have multiple lines!Python has just about the stupidest OOP implementation out there:You “hide” instance variables using underscores as a prefix, but they aren’t really hidden. You must always pass self (or whatever name you like) as the first argument to an instance method in its definition. But this is inconsistent with the actual method call signature! Example: class Die: def setSides(self, sides): # two args self.numSides = sides def main(): die1 = Die() die1.setSides(3) # one arg - WTF? You can have myList.append() but not myList.len(). You can use len(myList), though. WTF? Isn’t Python supposed to be object-oriented? Also, while Python’s Off-side rule syntax is highly praised, it’s also highly criticized. I much prefer Smalltalk (Pharo) over Python. Smalltalk is a much, much simpler and easier language than Python. I find Smalltalk more versatile than Python, too. Smalltalk is not hobbled by the GIL. Smalltalk has lovely lambdas. Smalltalk’s OOP implementation is as clean and pure as the driven snow. There is no better OOP language. read less
Comments

Related Questions

Who can learn the Python?

Anyone can learn python doesn't require any programming knowledge (or) experience. Python is much easier as compared to other programming languages. Python is easy to learn. The learning curve is very gradual.
Sunil
Can I build iPhone apps using Python?
Yes, you can use PyMob app where apps can be written purely in Python, and the compiler tool flow converts them in native source codes for various platforms. But there are some cons on using PyMob, the...
Sunil
0 0
5
I completed my graduation in 2017, now working as an HR Executive in a Consultancy. I want to move to IT Sector. Which course is best for me to learn and get success in life? Please Suggest me
Dear Kumar, My suggestion is to - become good in one programming language - preferably Java and one O/S preferably Linux. Be aware of Open Source systems. Try to identify the opportunities in your existing...
Kumar
Which is better, PHP or Python? Why?
This question points to other question , What motive you want to learn or what you want to achive with them.
Issac
0 0
8

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Python Demo
https://www.youtube.com/watch?v=8AEhpZ4lbOI

Using the Math Library in Python
Using the Math Library in Python. Python provides many useful mathematical functions in a special math library. A library is a module that contains some useful definitions. We now consider...

Topics covered in Python Basics course
Chapter 1: Introduction Introduction to Python Setting up path Chapter 2: Variable Integer String Operators (Arithmetic, logical, relational) Chapter 3: Data Structure Tuple List Dictionary ...

Python Script for random Password generation
from random import randintdef passwordgen(request): str_not_include = "1 L I i l o O 0" str_small ="abcdefghjkmnpqrstuvwxyz" str_caps = str_small.upper() str_num = "23456789" str_special...

Why Python
Python can be used in any futuristics technology A= Analytics Data Science Artificial Intelligence(AI) Neural Network(NN) Natural Language Processing(NLP) Computer Vision(OpenCV) In Analytics...

Recommended Articles

Python is one of the most popular programming languages in the world. It is general-purpose, object oriented, high-level programming language used in a number of programming fields. Python is a great programming language to learn as it will introduce you to the world of programming. If you are from the technical background...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Software Development has been one of the most popular career trends since years. The reason behind this is the fact that software are being used almost everywhere today.  In all of our lives, from the morning’s alarm clock to the coffee maker, car, mobile phone, computer, ATM and in almost everything we use in our daily...

Read full article >

Looking for Python Training classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you