[Tutor] Quick Pythonic Style Tips
arj.python at gmail.com
Sat Jul 22 07:20:19 EDT 2017
As a user switching between some languages, it took sometimes before i
discovered that there was a styling guide in python (obviously from not so
kind users when asking on forums). as i did not learnt python as first
lang, i learnt only the syntax (no need to relearn concepts)
besides some tips here and there i heard of the PEP8 etc. nice very nice.
i'll outline some styling guide which striked me :
use CAPS to declare constant variables
use plurals for many : ex. names =[ ]
the 89 char limit ...
i'd like to know if there was a specific C++ or java style of doing things
which should be avoided ?
thanks in advance,
More information about the Tutor