Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Connection::connect() interface is changing

From: Axel Howind <Axel.Howind(at)htp-tel.de>
Date: Mon Jul 16 2007 - 10:06:36 EDT


Warren Young schrieb:
> Joel Fielder wrote:

>>
>> Perhaps the named constructor idiom is an
>> alternative option for consideration?

>
> I don't see a big difference. Lacking a strong motivation, I'll go with
> the non-idiomatic way. The problem with idioms is that they're
> confusing to those who don't know them yet.

Subclassing introduces the possibility of slicing, which won't happen in this case when using a named constructor.

-- 
MySQL++ Mailing List
For list archives: 
http://lists.mysql.com/plusplus
To unsubscribe:    
http://lists.mysql.com/plusplus?unsub=lists@pantek.com
Received on Mon Jul 16 10:06:44 2007

This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 19:28:31 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library