I have been working with the LSX 3.1 Toolkit recently, and it is entertaining to read through some of the source, where there are discussions both philosophical and practical about why various decisions were made. Occasionally, the comments are quite witty. Here is an excerpt from lsxforeign.cpp, which pertains to foreign LSXs such as the base Notes classes, not foreign language LSXs. I assume that this was Willie Arbuckle writing, but it is my emphasis:
We could make the end user do the deref'ing that LotusScript is normally in charge of, after they have extracted their string, etc, out of the returned LSXValue. But, who is going to remember to do that? Memory leak city.
Memory leak city. I sometimes feel like I live there, and I assure you, I am not the only programmer in town.
Copyright © 2007 Genii Software Ltd.