Drawbacks of Python
Almost every discussion of programming languages falls into bike-shedding[1] and this is no exception. The <i>only</i> thing he mentions worth talking about is the GIL. Syntax and small API gotchas can be learned by a beginner programmer in a matter of days of using the language, and are fairly irrelevant to your overall experience. If whitespace and using the division operator are big problems for you, significant software development probably isn&#x27;t within your abilities.<p>In addition to the GIL, other problems I&#x27;d point out with Python:<p>1. At one point, Python was &quot;batteries included&quot;. This is largely no longer the case any more--most projects are largely dependent on PyPI, and there&#x27;s been a growing sentiment in the last few years that &quot;the standard library is where modules go to die&quot;. PyPI libraries are of inconsistent quality and have a high turnover rate; the &quot;standard&quot; for what to use changes fairly rapidly. And if you manage to make good choices of mature libraries and not have to change them every year or so, you still have to manage dependencies, which complicates deployments.<p>2. Fracturing community: there are now a bunch of different non-standard ways to install Python and Python dependencies, which conflict with each other, and none of which fit all use cases, so you have to use all of them and deal with conflicts. This exacerbates issues with 1.<p>3. Increasing dependency on non-pure-Python dependencies which don&#x27;t build trivially. There are reasons for this: Python often isn&#x27;t performant enough for certain tasks, and other languages have some very good tools. However, this means you can&#x27;t just `pip install` a library and expect it to work--even very common libraries like Pillow don&#x27;t without fiddling. Again, this exacerbates problems with 1.<p>4. Lack of a good desktop UI framework. It&#x27;s apparent that not as many people are using Python for native UIs any more. tk is cludgy and doesn&#x27;t result in pretty UIs, and despite being part of the standard library, it doesn&#x27;t work out of the box on MacOS. wxWidgets doesn&#x27;t build on MacOS without significant work, and documentation is for the C++ version of the library. This is sort of the intersection of 1, 2, and 3, but in desktop UIs they combine to form a perfect storm. If you&#x27;re developing a desktop UI, there are better languages, but I&#x27;m not going to post them here because I&#x27;d rather keep this as a constructive criticism of Python than a language competition.<p>5. Introspection being used to change language syntax without solving the problems the language syntax solves. I&#x27;m really looking at Django here, but they&#x27;re not the only guilty ones. When you call a function, i.e. route_on_http_method(GET=get_handler, POST=post_handler), functions can fairly easily check arguments and throw an exception from a logical spot--i.e. route_on_http_method(GIT=get_handler) throws an exception immediately. But when you have `class MyView(GenericView): def git(self, request): ...` you get no exception until you try to call the view, in which case you get a wonderful cornucopia of meaningless line numbers in a useless stack trace. Sure, Django code looks nicer and more organized, but as I said, syntax isn&#x27;t that important. Debugging IS important. Using the bikeshedding example, this is breaking the nuclear power plant to fix a problem with the bike shed. And this is a generous example: it&#x27;s fairly simple and Django is one of the libraries that does a <i>better</i> job of this. If you really want configuration-oriented programming, you&#x27;d be better off parsing in JSON files and doing explicit error checking when you parse them in, rather than introspecting out a syntax that&#x27;s not really code and not really configuration. Introspection hasn&#x27;t played out well as a Python feature.<p>You&#x27;ll note that all these problems are CULTURAL problems, rather than problems with the language itself. And that&#x27;s my point, because those are the problems you can&#x27;t easily work around, and it&#x27;s the problems you can&#x27;t easily work around that make or break the language.<p>I say all this because I love Python. I&#x27;ve worked in Python for the last 6ish years, and don&#x27;t see that changing any time soon.<p>[1] <a href="https:&#x2F;&#x2F;en.wiktionary.org&#x2F;wiki&#x2F;bikeshedding" rel="nofollow">https:&#x2F;&#x2F;en.wiktionary.org&#x2F;wiki&#x2F;bikeshedding</a>