Re: Questions about CLOS
- From: Ken Tilton <kennytilton@xxxxxxxxxxxxx>
- Date: Sun, 29 Jul 2007 14:04:51 -0400
Barry Fishman wrote:
Justin Paston-Cooper <defcon8@xxxxxxxxx> writes:
Hello. I'm trying to think of a way to implement interest rates on
bank accounts. Each time withdraw, credit or is called, I would like
it to be checked whether interest should be added to the account. Or
maybe another solution is better.
If one does direct slot accesses, I don't think there is any way of
doing it.
However, if an interest check was done as :before method of its
'balance' reader method, it seems to be sufficient.
Wouldn't this be a good application of a relational database?
(Sorry, that is the only Dilbert cartoon I remember.)
hth, kenny
ps. Go. A. Way. k
.
- Follow-Ups:
- Re: Questions about CLOS
- From: Daniel Barlow
- Re: Questions about CLOS
- References:
- Questions about CLOS
- From: Justin Paston-Cooper
- Re: Questions about CLOS
- From: Rainer Joswig
- Re: Questions about CLOS
- From: Kent M Pitman
- Re: Questions about CLOS
- From: Justin Paston-Cooper
- Re: Questions about CLOS
- From: Barry Fishman
- Questions about CLOS
- Prev by Date: Re: Is the following behavior defined by the standard or implementation specific?
- Next by Date: Re: I symbolics still selling machines? does anyone use the lisp genera os?
- Previous by thread: Re: Questions about CLOS
- Next by thread: Re: Questions about CLOS
- Index(es):