Ancestors

Toot

Written by Dave Mackey on 2025-01-21 at 21:38

in most ways I really like #python but I'm really not a fan of putting comments inside functions. It perhaps make more logical sense, but I find it harder to read, especially if it is just a brief description of the function rather than a full workup.

does this make me a bad person? 😂

[#]coding #programming

=> More informations about this toot | More toots from davidshq@hachyderm.io

Descendants

Written by Alan B on 2025-01-21 at 21:45

@davidshq no, but assigning to function_name.doc after the declaration is complete (which does the same thing as a doc string) might get you some funny looks 🤓

=> More informations about this toot | More toots from alanb@hachyderm.io

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113868507511187061
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
257.241318 milliseconds
Gemini-to-HTML Time
0.467715 milliseconds

This content has been proxied by September (3851b).