Re: RFC C++ Interface

Поиск
Список
Период
Сортировка
От ncm@zembu.com (Nathan Myers)
Тема Re: RFC C++ Interface
Дата
Msg-id 20001212155031.A8596@store.zembu.com
обсуждение исходный текст
Ответ на Re: RFC C++ Interface  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: RFC C++ Interface  (Randy Jonasz <rjonasz@click2net.com>)
Список pgsql-hackers
On Tue, Dec 12, 2000 at 05:28:46PM -0500, Bruce Momjian wrote:
> > On Sun, Dec 10, 2000 at 06:53:11PM -0500, Bruce Momjian wrote:
> > > > I appreciate your comments and would like to respond to your
> > > > concerns. The API I sketched in my earlier e-mail is borrowed
> > > > heavily from Rogue Wave's dbtools.h++ library. I think it can be
> > > > a very clean and elegant way of accessing a database.
> > >
> > > Rogue Wave's API is quite interesting. It would be a challenge to
> > > implement. If you think you can do it, I think it would be a real
> > > win, and a real object-oriented API to PostgreSQL.
> >
> > I was co-architect of the Rogue Wave Dbtools.h++ interface design
> > ... The design is really showing its age. SQL92 and SQL3 didn't
> > exist then, and neither did the STL or the ISO 14882 C++ Language
> > standard.
>
> Can you suggest areas that should be changed?

As I recall, we were much more fond of operator overloading then than is
considered tasteful or wise today. Also, there was no standard for how
iterators ought to work, then, whereas today one needs unusually good
reasons to depart from the STL style.

Nathan Myers 
ncm@zembu.com


В списке pgsql-hackers по дате отправления:

Предыдущее
От: mlw
Дата:
Сообщение: Re: SourceForge & Postgres
Следующее
От: mlw
Дата:
Сообщение: Re: external function proposal for 7.2