In a study(#31) published by the American Accounting Association, prof
has suggested a new way to treat accounting transactions by mean of
asymetrical arrays and using wealth and income accounts instead of
debit and credit accounts.
In a little program I have tried to to use this kind of approach.My
first program contains two classes: a class Account and and class
In the first part of my program (class Account part) I have introduced
an initialize method and a balance methods.Furthermore there is
another method whis is:
The class Record part of the program contains these two lines of
It means that the two objects wealth_account and income_account call
the def add-record method.
What I don’t understand is, if instead of the word record I put any
word like a, x it is working properly. My question is: how does the
program know that it has to go to the lines of code where I
instantiate the records. As the user I know where I can find the
records but there is no special flags which indicate these lines.