New answers tagged

2 votes

Geektrust coding challenge: simulating a marketplace for loans

Out of all of your constants, only one is worth keeping, MONTHS_IN_A_YEAR; the others are less useful than having no declared constant at all. ...
user avatar
  • 51.1k
3 votes

Geektrust coding challenge: simulating a marketplace for loans

A few tips. One is to be aware of the anaemic domain antipattern (https://en.wikipedia.org/wiki/Anemic_domain_model). Classes with only attributes and no methods aren't really in the spirit of OO, so ...
user avatar

Top 50 recent answers are included