Jul-21-2018, 11:37 AM
Thanks for the tips. I already looked over the code with flake and pep8 utilities. I don't need advices about the code itself, but I am rather wondering about the labeling of private methods. To make it more clear, my question is does it make sense to mark all methods as private when there are no public methods? It seems like it would not give much useful informations. Or maybe there is a convention for this particular case? Unfortunatly after reading through PEP8 I did not found a definitive answer.
As for the CamelCase, as I wrote earlier I know that the snake_case is usually recommended, but as I work with Qt framework, consistency is preferred. As written in PEP8:
As for the CamelCase, as I wrote earlier I know that the snake_case is usually recommended, but as I work with Qt framework, consistency is preferred. As written in PEP8:
Quote:New modules and packages (including third party frameworks) should be written to these standards, but where an existing library has a different style, internal consistency is preferred.