Liste des Groupes | Revenir à col misc |
On 2024-09-30, 186282@ud0s4.net <186283@ud0s4.net> wrote:All my work had more comments than code ... almost
I've occasionally done that with Python.Yup. Be generous with comments, and write them in plain
>
HOWEVER, the FUTURE readability suffers considerably.
>
IMHO, write code so YOU can go back to it like five
years later and actually grasp what you did and why.
Overly-complex code, and 'feature creep' RUIN pgms.
English, not some cryptic set of abbreviations that nobody
else would understand. And remember that those comments
aren't necessarily for someone else - they're for you
six months from now, when you've forgotten why you wrote
what you did.
Les messages affichés proviennent d'usenet.