Do’s And Don’ts of the Python Programming Language
A short article from my experience.
Python is the 3rd most popular language among all programmers. Holding its strong position in the top 10 programming languages, the future of Python is quite bright.
Recently I wrote an article where I compiled resources available for the Python programming language — and to be completely honest, I personally believe that there are some do’s and don’ts in Python which programmers should follow.
Following are 3 such do’s and don’ts which are necessary for newbie Python programmers to bear in mind —
Do’s
- Write understandable code which can be read by both the compiler as well as human beings.
- Use comments wherever necessary.
- Read recent documentation once a week for new updates.
Don’ts
- Using short forms to declare variables or functions.
- Taking ownership of someone else’s code from GitHub. Never copy-paste unnecessarily and declare it as your own code.
- Code with an infinite loop.
I hope you loved this short article regarding the do’s and don’ts of the Python programming language. Keep programming and keep practicing. All the best for your programming journey!
