this post was submitted on 12 Feb 2025
16 points (78.6% liked)

Python

6908 readers
2 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
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 4 points 1 month ago (1 children)

I also like to use log statements or error messages as a way to describe what's happening.

Comments are only visible in the exact spot where they're written, whereas decent names or log statements become visible in a second place, which makes them more valuable, but also increases the chance of them being kept up-to-date.

[–] [email protected] 2 points 1 month ago (1 children)

Praise the log and observability lords!

People really underestimate how useful logs are in almost every context.

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago)

until it isn't

multiprocessing humbles the plans of mortal men

(Initially thought you were being sarcastic.)