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

What web framework is best to use with Python?
The best web framework to use with Python depends on your project needs: 1. **Django**: Ideal for large-scale applications with built-in features like authentication, database management, and admin interface....
Kaushal
0 0
5

What is a Python development, UGI, Data science and Machine learning? Do they all include Python or are they different? Which is better to learn for making a career?

Python development is a field in which you develop real world applications using the Python programming language. UGI stands for Upper Gastrointestinal and it is a concept in human body. Data Science is...
Srinu
How do I learn Python in depth?
Learning Python in depth is not a big issue first start practising basic of coding daily don't copy and paste start writing the code , after these basic you can go for advanced level of python like OOPS...
Mahender
0 0
5
Hi, I'm BCA graduate, and I have seven years in the general insurance field now I want to change my profile and upgrade my knowledge. Will learning python help me with my growth in my career?
Hi, as far as my knowledge goes first, you should learn data processing tools or programs like MS Excel, Power Bi, or SQL then you should then take a leap into Python, which will make automating your work quite simple.
Supriya

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

Ask a Question

Related Lessons

Why Do People Choose Python?
Lot of programming languages are available in the market today, but why do people choose python over them? What made it different from other scirpting languages. So factors made it unique, as below: Software...

Python Overview
Python is a high-level, interpreted, interactive and object-oriented scripting language. Python was developed by Gudo vanRossum in the late eighties and early nineties at the National Research Institute...

What is the difference between PHP and PYTHON
Let's start with PHP: - Ideal for standard web development- Easy integration with MySQL- $_GET and $_POST built into the language- C-Esque syntax Primarily used on an Apache server (Routinely, you...

Write your first Python program in 10 minutes
1. Download python from python official site search "python download" in google 2. Install in your machine 3. verify using : "python --version" command 4. Write first program using notepad create...

File Handling in Python - Basic Concept
File (Flat) Handling in Python Types of files in python: 1: Text file: Stores data in the form of characters. Customarily used to store text/string data. 2: Binary file: Stores data in the form of bytes....

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