38 likes
·
349 reads
2 comments
·Sep 10, 2024
Sep 10, 2024
Good ideas. The execution is kind of okay. You should have an object that holds the account name and the related amount. So that when you use your "updateAmount" method, you won't have to compare strings. It's adding complexity for nothing. Just pass the amount as a parameter. Good article tho. Keep going !
·
·Oct 1, 2024
Oct 1, 2024
nice one
·