From: pgsql@mohawksoft.com
To: pgman@candle.pha.pa.us
Cc: pgsql@mohawksoft.com
Cc: pgsql-hackers@postgresql.org
Subject: Re: close() vs. closesocket()
Date: Fri, 25 Apr 2003 12:59:13 -0400 (EDT)
Message-ID: <1133.68.162.220.216.1051289953.squirrel@mail.mohawksoft.com> (raw)
In-Reply-To: <200304251616.h3PGG8A24353@candle.pha.pa.us>
References: <200304251616.h3PGG8A24353@candle.pha.pa.us>
> pgsql@mohawksoft.com wrote:
>> > pgsql@mohawksoft.com wrote:
>> >> >
>> >> > We have never been into abstraction for the sake of abstraction.
>> >>
>> >> Would you say that is a *good* thing or a *bad* thing?
>> >
>> > A good thing --- too much abstraction is bad --- look at Mozilla for
>> > a chilling example.
>> >
>> Anyone can find a *bad* example of something good. I did justify my
>> statement with a "reasonable" cause.
>
> Mozilla is an example of a case where too much abstraction is bad ---
> hence supporting my statement:
>
>> >> > We have never been into abstraction for the sake of abstraction.
>
> As far as examples, we are doing a few you mention already, and will
> review the others once we are done. If there are too many special
> cases, we can look at abstraction, but there has to be more than what I
> have seen so far.
I guess it is a design philosophy difference. My view is that all non-ansi
or system specific API which tend to differ across platforms is universally
put into an abstaction or ports layer. It has worked well for me for over
two decades. More over, every time I say to myself, "I don't need to do it
in this case." I get burned.
With sockets, particularly, there are enough difference between UNIX systems
let alone Windows to warrent an abstraction layer. PG is probably the only
non-trivial code base that I know about that does not have a sockets
abstraction layer.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: pgsql@mohawksoft.com, pgman@candle.pha.pa.us
Subject: Re: close() vs. closesocket()
In-Reply-To: <1133.68.162.220.216.1051289953.squirrel@mail.mohawksoft.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox