Re:Pattern matching accepted for Python
by roelschroeven on Tuesday February 09, 2021 @04:31PM
(#26082621)
I think grandparent is talking about something else. Large C++ codebases often have a guide that says which parts of the language to use and not to use. That can be useful if you have a team with people with different levels of expertise in the language, or expertise in different parts of the language. C++ has grown to be a language with a lot of different parts to choose from.
And it looks like Python is heading in the same direction. It's not difficult to imagine a future where some Python projects are going to want such guides too.
Thanks for the clarification.
grandparent?
Re:Pattern matching accepted for Python
by roelschroeven on Tuesday February 09, 2021 @05:02PM
(#26082961)
The parent comment of the parent of my comment, and by extension the writer of that comment.
Might be that the whitespace indentations focus the mind. Also: PEPs already act as style guides. And if you are worried to do it wrong, just run it through a code formatter like black. It really isn't that much of a problem IMO.