this post was submitted on 02 Nov 2024
270 points (98.2% liked)

Python

6366 readers
7 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

πŸ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
πŸ’“ Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] aubeynarf@lemmynsfw.com 26 points 1 week ago* (last edited 1 week ago) (42 children)

Thank god, Javascript is a mess.

I’ll still plug Scala for having the beauty of Python, the ecosystem of Java, the correctness of Rust, the concurrency of Go, and the power of Lisp.

[–] bjornsno@lemm.ee 65 points 1 week ago (22 children)

I code both typescript and python professionally, and python is almost as much of a mess, just a different kind of mess. The package manager ecosystem is all over the place, nobody is agreeing on a build system, and the type system is still unable to represent fairly simple concepts when it comes to function typing. Also tons of libraries just ignore types altogether. I love it, but as a competitor to JavaScript in the messiness department it's not a good horse.

[–] eager_eagle@lemmy.world 3 points 1 week ago (2 children)

types are always ignored at runtime, they're only useful when developing

[–] bjornsno@lemm.ee 6 points 1 week ago (2 children)

Yeah, they're useful when developing, which is why it's so frustrating when libraries don't implement types. I'm developing and I'm trying to use a tool that supposedly fits a use case I have, but the tool didn't come with instructions so it's practically useless to me. I could open the tool up and look at its guts to figure it out but are you kidding me no, I'm not going back to the stone age for your tool.

[–] eager_eagle@lemmy.world 3 points 1 week ago* (last edited 1 week ago)

basically sums up the opencv experience in Python.

great lib, very mediocre Python wrapper.

Check if there's a stub or types extension - https://pypi.org/search/?q=types

[–] dallen@programming.dev 1 points 1 week ago

Pydantic offers awesome runtime validation (using Rust).

load more comments (19 replies)
load more comments (38 replies)