At the moment we create "adder" method for Collection. We use following method naming convention:
addXxx, where Xxx is the name of the property. So if we have something like:
... companies, the adder method will look like this: addCompanies(Company company)
==> This is not nice.
Correct is something like: addCompany(Company company)
==> addCompany is always singular
At the moment we create "adder" method for Collection. We use following method naming convention:
addXxx, where Xxx is the name of the property. So if we have something like: ... companies, the adder method will look like this: addCompanies(Company company) ==> This is not nice.
Correct is something like: addCompany(Company company) ==> addCompany is always singular