In today’s article 10 tips to improve the quality of your Python functions.
Articles on DRY
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.
Refactoring Opportunities That Will Boost the Quality of Your Code
By Bob Belderbos on 19 April 2020
Refactoring is all about making your code more maintainable. In this article I will provide you with Python and generic software tips to write better code.
Code Challenge 14 – Write DRY Code With Decorators – Review
By PyBites Team on 14 April 2017
It’s end of the week again so we review the code challenge of this week. It’s never late to sign up, just fork our challenges repo and start coding.
Code Challenge 14 – Write DRY Code With Decorators
By PyBites Team on 10 April 2017
Hi Pythonistas, a new week, a new ‘bite’ of Python coding! This week we let you practice with decorators, a nice way to abstract away common functionality. It allows you to alter the behavior of a callable without modifying the callable itself. We agree with Dan Bader that ‘understanding decorators is a milestone for any serious Python programmer.’ Enjoy!