Re: Python
c186282 <[email protected]> Wed, 17 Dec 2025 03:11:09 -0500
| Newsgroups | comp.os.linux.misc,alt.folklore.computers,comp.lang.python |
|---|---|
| Organization | wokiesux |
| Message-ID | <[email protected]> |
On 12/16/25 20:54, rbowman wrote: > On Tue, 16 Dec 2025 21:45:42 -0000 (UTC), Lawrence D’Oliveiro wrote: > >> On Mon, 15 Dec 2025 12:57:57 +0000, mm0fmf wrote: >> >>> On 14 Dec 2025 11:56:42 GMT, Stéphane CARPENTIER wrote: >>> >>>> My issues with python are: >>>> - It's using indentations, so when I comment a block of code to see >>> >>> ''' and ''' are your friend >> >> Unless the block has triply-quoted strings inside it ... > > Yeah, well. I've been burned more than once by someone who added > > /* stupid comment */ > > someplace west of the 80th column in the code. Well ...... reflex ........ :-) Now most of my code lines have a "# WhatThisIs" comment at the end. I like to micro-document so I can remember what my own fuckin' code does a few years down the line. AMAZING how quickly the 'why' vanishes from the mind :-) Probably 50% of the text in my code - doesn't matter which lang - is 'comments'. ANYway ... you CAN easily do block commenting in Python ... P3 anyway, not so sure about P2 because I never used it. IF there's a P4 ... they really SHOULD accept "/*" as a start-comment.