News for hackers. Stuff that matters.
Re:Pattern matching accepted for Python by atoav on Tuesday February 09, 2021 @04:26PM (#26082572)
Really? I program Python for over a decade now and compared to other language it was always the one where style somewhat was the smallest issue with that language (compared to the C, C++, C#, Javascript, Java I have seen).

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.

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.

Re:Pattern matching accepted for Python by atoav on Tuesday February 09, 2021 @04:46PM (#26082760)
Thanks for the clarification.
Re:Pattern matching accepted for Python by 533474 on Tuesday February 09, 2021 @04:54PM (#26082856)
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.