Here are some things we picked up from code reviews that when addressed can make your code a lot cleaner.
Articles on clean code
When to Write Classes in Python And Why it Matters
By Bob Belderbos on 25 April 2020
When people come to Python one of the things they struggle with is OOP (Object Oriented Programming). Not so much the syntax of classes, but more when and when not to use them. If that’s you, read on. In this article I will give you some insights that will get you clarity on this.
Code Challenge 35 – Improve Your Python Code With BetterCodeHub – Review
By PyBites Team on 11 September 2017
In this article we review last week’s Improve Your Python Code With BetterCodeHub code challenge.
Code Challenge 35 – Improve Your Python Code With BetterCodeHub
By PyBites Team on 5 September 2017
Hi Pythonistas, a new week, a new ‘bite’ of Python programming! Last week we wrote an article on improving the quality of your code with Better Code Hub. This week we let you refactor a Python project. You can even win awards thanks to SIG who is sponsoring this challenge!
Improve the Quality of Your Code with Better Code Hub
By Bob Belderbos on 30 August 2017
So you pushed your code to GitHub and deployed v1, congrats! But how maintainable is your code really? Do you have tests? Is your code modular? Are your methods short and concise? What if you could hit a button and a tool conveniently checks this for you? Free and integrated with GitHub? Enter Better Code Hub from Software Improvement Group …