Re: Python

2025-12-18 Thread c186282
On 12/18/25 13:00, Richard Kettlewell wrote: Peter Flass writes: I comment *A LOT*. When I had to go back and revisit some very old code, I wished I had commented more. I've almost never looked at a program and said "I wish it had fewer comments." Regrettably, I’ve encountered plenty of comme

Re: Python

2025-12-18 Thread c186282
On 12/18/25 09:40, Peter Flass wrote: On 12/17/25 20:10, c186282 wrote: On 12/17/25 14:17, rbowman wrote: On Wed, 17 Dec 2025 03:11:09 -0500, c186282 wrote:     Probably 50% of the text in my code - doesn't matter which lang - is     'comments'. I looked at some of my code

Re: Python

2025-12-18 Thread c186282
On 12/18/25 01:54, rbowman wrote: On Wed, 17 Dec 2025 23:02:24 -0500, c186282 wrote: Oh, I usually write "i=i+2". It's a bit more clear and becomes the same code anyway. += is more a 'C' thing. And Python, C#, JavaScript, C++, ... Well, I know it *wor

Re: Python

2025-12-17 Thread c186282
On 12/17/25 17:11, Lawrence D’Oliveiro wrote: On Wed, 17 Dec 2025 16:17:30 -0500, Dan Espen wrote: Lawrence D’Oliveiro writes: On Mon, 15 Dec 2025 12:57:57 +, mm0fmf wrote: On 14 Dec 2025 11:56:42 GMT, Stéphane CARPENTIER wrote: My issues with python are: - It's using indentations, s

Re: Python

2025-12-17 Thread c186282
On 12/17/25 22:28, John Levine wrote: According to c186282 : Well ... I'll better understand, and be able to mod, my old programs better than you. I find 'excessive' commenting anything BUT 'excessive'. I *enjoy* writing out the meaning and implicat

Re: Python

2025-12-17 Thread c186282
On 12/17/25 14:17, rbowman wrote: On Wed, 17 Dec 2025 03:11:09 -0500, c186282 wrote: Probably 50% of the text in my code - doesn't matter which lang - is 'comments'. I looked at some of my code and it's pretty much comment free. There are a couple of .c files

Re: Python

2025-12-17 Thread c186282
On 12/16/25 20:54, rbowman wrote: On Tue, 16 Dec 2025 21:45:42 - (UTC), Lawrence D’Oliveiro wrote: On Mon, 15 Dec 2025 12:57:57 +, 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

Re: Python

2025-12-15 Thread c186282
On 12/15/25 07:57, mm0fmf wrote: On 14/12/2025 23:29, Lawrence D’Oliveiro 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 And maybe stop using edlin etc.