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

Python

6697 readers
23 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
[โ€“] hendrik@palaver.p3x.de 2 points 1 week ago* (last edited 1 week ago)

Agreed. Name things. And split up code into chunks with a sane lenth and have these methods do about one thing. And know the program language well enough so you don't need to do it in an unnecessarily complicated way. You can get rid of most of the inline comments that way. Not sure if this translates to docstrings though, if you're generating some reference or something. Yeah, and please tell me the "why" I can read Python code, so I can pretty much already see "what" it's doing.