Oct-20-2018, 02:06 PM
I am opposed to the moderation team enforcing PEP-8 in any way. PEP-8 is a style guide, not the style guide. Guido has clearly stated that it was not meant to be the be-all end-all for all Python coding. It was only meant as the style guide for the code in the standard library, and not even all of that meets the strict definition of it. And as PEP-8 says, "Consistency within a project is more important" than consistency with PEP-8. Among other things, I think that means that if their teacher is using camelCase, they should be using camelCase.
As for bad coding practices, that's up to the users of the board, not the moderation team. I often do it when dealing with newbies. I don't always detail all the problems, especially in larger bits of code, but rather the things that pop out at me.
I can read camelCase fine, and I would be quite happy if no one on this board ever pointed out that posted code was not PEP-8 compliant.
As for bad coding practices, that's up to the users of the board, not the moderation team. I often do it when dealing with newbies. I don't always detail all the problems, especially in larger bits of code, but rather the things that pop out at me.
I can read camelCase fine, and I would be quite happy if no one on this board ever pointed out that posted code was not PEP-8 compliant.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures