5 ms·
I agree completely. I hate how different reading C++0x and C++17 is. I hate reading a "C++ style guide" for a new project. I already feel that pretty soon, "P
by _jjkk 6y ago
I agree completely.
I hate how different reading C++0x and C++17 is. I hate reading a "C++ style guide" for a new project.
I already feel that pretty soon, "Python Style Guide" will be a necessary evil...
- atoav 6y agoReally? 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.
- roelschroeven 6y agoI 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.
- atoav 6y agoThanks for the clarification.
- 533474 6y agograndparent?
- roelschroeven 6y agoThe parent comment of the parent of my comment, and by extension the writer of that comment.