News Item - Constructors Considered Harmful (?)

02.19.2008 09:20:56 AM

Here's an interesting article that advocates using static "create" methods instead of constructors, along with how to have public constructors when necessary. I kind of like this approach - it would definitely solve the problem of calling virtual methods in constructors.

Printer-Friendly Version

Add a Comment

(*) = Required field
Name (*):

E-Mail (*):

Web Site:

Title (*):

Comments (*):

Enter the code you see (*)



Page Last Modified: 01.21.2008 03:08:19 PM