Ladislav wrote:
> The use of self-modifying code is not considered as advisable (not by
me, it's an old rule). Every programmer should take care, if his code
is clean from such effects.
Elan wrote:
> Is there more information available in support and opposing this "old
rule"?
In support:
1 When writing code to be written in ROM. It's hard to write
self-modifying code, when the code is in read-only memory! :-)
2 What you see is what you get. Code that self-modifies is harder to
read, and harder to modify by maintenance programmers.
Against? :-)
1 Genetic and evolutionary code (and DNA) is self-modifying. It allows
for very interesting programs and beings to be created.
Andrew Martin
[EMAIL PROTECTED]
http://members.xoom.com/AndrewMartin/
Online @ 33,600 Baud!
-><-