Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Singleton Class
Message
From
07/11/2005 09:22:37
 
 
To
07/11/2005 08:05:01
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
01064942
Message ID:
01065959
Views:
17
Of course my "users" will be programers, but programers do some mistakes too, which usually turn into bugs. If not well documented, I could even forget about my singleton class, discover it one year later again, and use it in the wrong way :-)
That's why other OO languages offer features like a protected constructor, or final methods than no one can redefine. Documentation is nice, but self-documentation is even better.
Previous
Reply
Map
View

Click here to load this message in the networking platform