Re: procedural vs object oriented
- From: "Ludovic Brenta" <ludovic@xxxxxxxxxxxxxxxxxx>
- Date: 27 Apr 2006 05:03:31 -0700
Because:
* the dispatching logic is visible in the source and therefore easy to
trace to object code (you always certify the machine code, not the
source code).
* you see, at the call site, the complete list of possible call
targets.
Besides, peer review would reject your code. You should have used a
case statement with no "others" clause, and thought about all possible
shape types up-front.
--
Ludovic Brenta.
.
- References:
- procedural vs object oriented
- From: Ananth the Boss
- Re: procedural vs object oriented
- From: bh
- Re: procedural vs object oriented
- From: Ludovic Brenta
- Re: procedural vs object oriented
- From: Dmitry A. Kazakov
- Re: procedural vs object oriented
- From: Ludovic Brenta
- Re: procedural vs object oriented
- From: Maciej Sobczak
- procedural vs object oriented
- Prev by Date: Re: procedural vs object oriented
- Next by Date: re: OO vs procedural
- Previous by thread: Re: procedural vs object oriented
- Next by thread: Re: procedural vs object oriented
- Index(es):
Relevant Pages
|