Quantcast
Channel: Python 'interest rate' object - Code Review Stack Exchange
Browsing latest articles
Browse All 3 View Live

Answer by pjz for Python 'interest rate' object

Starting from the excellent progress @Josay made, I'd only have one major suggestion: Turn the set-once properties into read-only, computed properties. This will:prevent them from being inadvertently...

View Article



Answer by SylvainD for Python 'interest rate' object

Trying to use the codeThe class defines something which feels a bit weird to use. We'll see a few ways to improve this.The constructor provides default value for all parameters which leads one to think...

View Article

Python 'interest rate' object

I have only recently started learning python and the below is my attempt to create an 'interest rate' object which, given one of several types of interest/discount rate, gives the user access to all of...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images