Did you know?
Category Lotus Domino Lotus Notes Lotusscript
In my article about the DDM tabbed view interface, I mentioned that I learned that the NotesSession and NotesUIWorkspace objects are singletons and as such, no matter how many times they are instantiated, there is only one copy ever in memory.
I am thinking that I should have known that, but honestly I didn't (but I didn't ever really think about it either.) Applauds to Wild Bill Buchan for educating me/us on this!
Did you know that?
In my article about the DDM tabbed view interface, I mentioned that I learned that the NotesSession and NotesUIWorkspace objects are singletons and as such, no matter how many times they are instantiated, there is only one copy ever in memory.
I am thinking that I should have known that, but honestly I didn't (but I didn't ever really think about it either.) Applauds to Wild Bill Buchan for educating me/us on this!
Did you know that?






Comments
I've seen lots of code like "DoStuff(mySession)", passing a NotesSession object to the DoStuff() function....not neccessary, it just clutters up the code.
Posted by Thomas Gumz at 09:29:07 PM on 01/30/2007 | - Website - |
Posted by Charles Robinson at 11:06:11 PM on 01/30/2007 | - Website - |
If only this sort of stuff was properly documented somewhere eh!
Posted by Ben Poole at 07:33:20 AM on 01/31/2007 | - Website - |
Posted by Russ Mayes at 02:07:10 PM on 01/31/2007 | - Website - |
{ Link }
Posted by Julian Robichaux at 07:21:19 AM on 02/08/2007 | - Website - |