It is generally a Very Bad Idea to make any assumptions about the contents of uninitialized storage.
What might work today may fail miserably tomorrow, without warning and without apparent cause.
If you care about it, then initialize it.
2009-12-15
Subscribe to:
Post Comments (Atom)
LOCAL STORAGE SECTION?
ReplyDeleteLOCAL STORAGE is an excellent solution, but is not widely known. I see a lot of recently created COBOL code out there that is written as if COBOL 85 had never existed.
ReplyDeleteTo follow up, I broached the idea of LOCAL STORAGE with an IMS systems programmer. He rejected the idea because of the extra overhead it would entail to acquire and initialize storage for every iteration of the program.
ReplyDelete