this post was submitted on 24 May 2025
194 points (89.1% liked)

Asklemmy

48211 readers
421 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 6 years ago
MODERATORS
 

. The race of a voice actor doesn't matter

. It is possible to wear yoga pants because there comfy

. You don't need to shower everyday

. It is possible to crossdress/be gender non-conforming without being trans

. Monty Python is very overrated

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Zacryon@feddit.org 17 points 2 days ago (7 children)

Python sucks.

Not only is it extremely inefficient, it is also a pain in the ass to work with if you have to use APIs that heavily rely on dynamic type wrapping and don't provide stubs. Static analysis via Pylance is not possible then and you're basically poking around in the dark, increasing the difficulty enourmously to get to know such an API. Even worse if there isn't even a halfway decent documentation.

[โ€“] phlegmy@sh.itjust.works 2 points 9 hours ago

Agreed. I don't understand the people who claim it's easier to work with, or better for prototyping.

Automatic typing exists. Type casting exists and is even handled automatically in some scenarios. Languages like java and C# can manage memory for you, and have the same portability and runtime requirement as python.

Prototyping in python and then moving to another language later makes no sense to me at all.

[โ€“] saigot@lemmy.ca 0 points 12 hours ago (1 children)

Comparing Python to c++ seems disingenuous, Python is not a replacement for c++, it should be compared to bash, PHP or maybe R. Don't get mad that a hammer is not a good screwdriver.

[โ€“] Zacryon@feddit.org 1 points 4 hours ago

I suppose you're referring to the article I've linked. As I see it: If an increasing amount of applications world are running with Python, then energy and time consumption are important aspects. Not only cost wise but especially since we're grilling our planet. Therefore, comparing with more efficient languages is indeed meaningful.

[โ€“] wulrus@lemmy.world 11 points 2 days ago

I thought you were referring to Monty Python like op did and I thought: what the heck is he talking about?

[โ€“] rumba@lemmy.zip 4 points 1 day ago

What always pissed me off is the indentation/codeblock style. Most languages you can write in notepad and be fine, if you don't use a proper editor in python, you're going to spend time hunting down indent issues.

[โ€“] uuldika@lemmy.ml 4 points 1 day ago

thank you.

I really don't get how so many people find Python "ergonomic." kwargs and their consequences have been a disaster for the human race. they break type hinting and intellisense, and there's all kinds of proxy class shenanigans that all the libraries use. matplotlib is a horrible experience because there's just a kitchen sink of options, and it's hard to dynamically update plots. if there were a TypeScript-like dialect of Python I wouldn't have problems, but Python's type hinting is absolutely wretched.

I really want Julia to succeed.

[โ€“] hactar42@lemmy.world 5 points 1 day ago* (last edited 1 day ago) (2 children)

I absolutely hate the package management in it. I can't tell you how many times I've found a cool python project, downloaded it from GitHub then tried to install requirements. And it turns into a huge nightmare of trying to find compatible packages. It'll be like you need wheel v3.1.0 so I try to install that,.then it's like no you can't do that because it's not compatible with numpy v79.84.1 that you have installed. So then you search and try to find which version is compatible, then install they go to install wheel again,.and it's like no you need pandas,.so you install pandas but it like sorry I'm not compatible with the version of numpy you installed.

[โ€“] MonkeMischief@lemmy.today 4 points 1 day ago* (last edited 1 day ago)

I'm a newb still but was put off by having to use "Conda" to manage a ton of virtual Python environments ultra-specific to the applications they were designed for. Blegh!

[โ€“] srestegosaurio@lemmy.dbzer0.com 3 points 1 day ago* (last edited 1 day ago)

I literally almost failed a uni course bc how shitty python packaging is. And well, maybe I am lazy, but the horrors of daring to get fucking deps were too much.

Just use Julia ffs. ๐Ÿ˜ญ๐Ÿ˜ญ

Surprised to see Java that high tho. I have been using it for uni stuff and it's not bad.

Feels overly complex on some areas (gradle??) and I am not a fan of OOP but still relatively good.