Re: Python class comments

2024-05-13 Thread Collin Funk
On 5/13/24 10:10 AM, Bruno Haible wrote: > I find these comments useful, in particular in files that contains > several classes, such as GLFileSystem.py. > > This is because I apparently work differently from you: When I open > a source code file: > - I do so in a window with at least 50 lines,

Re: Python class comments

2024-05-13 Thread Bruno Haible
Collin Funk wrote: > # > # Define GLImport class > # > class GLImport: > > > But when searching for a class in Python you can simply look up > '^class NAME:' since whitespace matters in that language. No need for > the comment in my opinio