this post was submitted on 08 May 2025
16 points (78.6% liked)

Python

7082 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 2 years ago
MODERATORS
 

Python decorators look like a great way to add functionality—until they break your type safety, hide function requirements, and turn debugging into a nightmare. This video shows you why decorators can be dangerous, the biggest pitfalls to watch out for, and when you should actually use them.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 23 points 2 days ago (1 children)

“Considered Harmful” Essays Considered Harmful

Because “considered harmful” essays are, by their nature, so incendiary, they are counter-productive both in terms of encouraging open and intelligent debate, and in gathering support for the view they promote.

At any rate, they don't have to break type safety anymore with PEP 612

[–] lukalix98 2 points 1 day ago

I feel like Bertrand Russel trying to figure out whether the essay you posted is actually harmful then...