Hello, I try now to make this challege work on Pharo which is orginal a c# problem to practice OOP. The challenge is this :
You need to: ask each user for credentials and output how much money do they have in each bank account. Classes: Customer, Transaction, BankAccount. So far I have this : https://github.com/rwobben/bankaccount but when I do this on playground: customer := Customer new. bankAccount := Bankaccounts new. bankAccount password: 'secret'. customer AddBankAccountToCustomer: bankAccount. transaction = Transactions new. bankAccount addToBankAccount: transaction. customer. and I inspect the customer I do not see the transaction addded to the bankaccounts collection. What do I do wrong ? Roelof |
- [Pharo-users] Why do I not see the transactions when openi... Roelof Wobben
- Re: [Pharo-users] Why do I not see the transactions w... Ben Coman
- Re: [Pharo-users] Why do I not see the transactio... Roelof Wobben
- Re: [Pharo-users] Why do I not see the transactions w... Richard O'Keefe
- Re: [Pharo-users] Why do I not see the transactions w... Richard O'Keefe
- Re: [Pharo-users] Why do I not see the transactio... Roelof Wobben
- Re: [Pharo-users] Why do I not see the transa... Richard O'Keefe
- Re: [Pharo-users] Why do I not see the tr... Roelof Wobben
- Re: [Pharo-users] Why do I not see t... Richard O'Keefe
- Re: [Pharo-users] Why do I not s... Roelof Wobben
- Re: [Pharo-users] Why do I n... Roelof Wobben