Image for post
Image for post

Although certain formats of this indentation style might technically be allowed in PEP8, I personally do not enjoy looking at heavily indented function arguments. You are forced to move your eyes all the way over to the right, some IDEs don’t play nice with this indentation, and using this style inhibits future extensibility. In this example, let’s assume we have the class above containing a large number of functions. Some of these functions serve a special purpose and should be dynamically accessible. We want any special function that we add to this class to be immediately picked up by the…

fxghfh fghfh

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store