Hello Ben,

I think the purpose of this exercise was to practice expecially things like encapsulation and thinking in classes.

So I think it's not a big deal to have a setter and a method to check if the passwords are matching.

Roelof



Op 19-8-2019 om 18:35 schreef Ben Coman:


On Mon, 19 Aug 2019 at 22:19, Roelof Wobben <r.wob...@home.nl> wrote:
Thanks all for the answers.

As I see it , it impossible to store the password in the bankaccount object and make safe code to use it,
So some one give me a stupid assignment.

That would seem to depend on the purpose of the assignment.
  a. To produce production ready code that managed someone's real life money,
  b. Provide a vehicle to reason about typical implementation issues, in which case did you learn anything from the exercise?

cheers -ben


Reply via email to