UrbanPro

Learn Python Training from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

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 syntax
rich libraries
tons of documentation and user support
Python 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

Is it possible to learn Python without any coaching class?
Yes, why not. Just it takes time and proper guidance by someone.
Neetu
0 0
7

I have passed Btech Electronics and Communication in 2015 and as you all know in ECE there is little knowledge of programming. And i want to learn Python from scratch. How much time it'll take to get a job after learning Python.

For Python, ideally, it takes two months for completing the syllabus. Then it needs practice. B.Tech Electronics with no computer science background can also learn python. It does not require additional...
Arun
Which is better, Java or Python? And how?
Java is popular among programmers interested in web development, big data, cloud development, and Android app development. Python is favored by those working in back-end development, app development, data science, and machine learning.
Umamahesh
0 0
5
What are the pros and cons of Python?
Python is a popular programming language that offers many benefits: ease of use, readability, and a large community of developers. However, it also has some limitations, such as slower performance compared...
Parminder
0 0
5

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

Ask a Question

Related Lessons

map function in python
The function map takes a function and an iterable as arguments and returns a new iterable with the function applied to each argument. Example: def add_five(x): return x+5 nums = result = list(map(add_five,...

Python Dictionary
Python dictionary is an unordered collection of items. While other compound datatypes have only value as an element, a dictionary has a key: value pair. Dictionaries are optimized to retrieve values when...

Writing Simple programs in Python(cont.)
To start writing simple programs in Python, we have to know firstly the SW development process and then we also have to know a bit about the language in which we wish to code,in this case,python, to get...

Python breaks into the top three programming languages in the Tiobe Index for the first time.
Python breaks into the top three programming languages in the Tiobe Index for the first time. The popularity of Python shows no sign of waning, with the programming language entering the top three in...

Python/Dejango Training
Python/Django Training Content Duration: 2.5 months 1. Introduction to Python Python - The Universal Language 2. Getting Started Installing Python Python - *Hello World* Using the Interpreter Python...

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
X

Looking for Python Training Classes?

The best tutors for Python Training Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Python Training with the Best Tutors

The best Tutors for Python Training Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more