PEP8 stresses on increasing readability. When a line of code is long, it
tends to bring in noise, thereby increasing cognitive burden on the reader.
The reader has to invest more concentration into reading and comprehension.
To reduce this burden, it is advised to keep the line shorter than 80
characters. PEP8 is just a style guide and has to be taken in that spirit
only. It is not necessary to follow it to the word. As long as you write
code that can be read without effort, it is fine. Personally, I follow it
in most cases. I keep PEP8 on in my IDE/Editors, warning me whenever I am
violating some PEP8 standard.

Another benefit of 80 line limit is that your code would fit nicely on
github.com, consoles, portrait aligned monitors etc.

Personally, I would do the following:

class Something(object):
    def __init__(
        self,
        rotate=((0, 0), (0, 0), (0, 0)),
        scale=((1, 1), (1, 1), (1, 1)),
        u_jitter=(0, 0),
        v_jitter=(0, 0),
    ):
        pass

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPaTLMRsj1eva9jG0%3DHRb-JYmQHf0%3D6GPrx0C9ihbWVj_QzUhQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to