pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus KARG <markus@headcrashing.eu>
To: 'List' <pgsql-jdbc@postgresql.org>
Subject: Re: Public vs internal APIs
Date: Thu, 23 Jul 2015 19:50:23 +0200
Message-ID: <002c01d0c570$0cd3f1d0$267bd570$@eu> (raw)
In-Reply-To: <CAB=Je-HrCQV+J79nvsu3kUms97uJ1AGNa6ci5+ArOtv+EcXV3A@mail.gmail.com>
References: <CAB=Je-Ha1mDY5Yzk035zEEQGFOTcMN71Gtpdo8CqjYfMAFJKRQ@mail.gmail.com>
	<001801d0c564$cd15bde0$674139a0$@eu>
	<CAB=Je-EELAJfmyo0uCwXewLhvqgg216Xs72R4YxtPqeyU3o-Yw@mail.gmail.com>
	<002901d0c567$c6f9fe00$54edfa00$@eu>
	<CAB=Je-HrCQV+J79nvsu3kUms97uJ1AGNa6ci5+ArOtv+EcXV3A@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

Well, yes, I also don't think that it would work well in the long term. But we could go with the ".internal" subpackage for example.

On the other hand I wonder wether the risk of using internal stuff really exists. I mean, people shall code against java.* API, not against org.postgresql implementation. If we make this clear in the JavaDocs, maybe it is enough?

-----Original Message-----
From: Vladimir Sitnikov [mailto:sitnikov.vladimir@gmail.com] 
Sent: Donnerstag, 23. Juli 2015 19:12
To: Markus KARG
Cc: List
Subject: Re: [JDBC] Public vs internal APIs

Any hint to the project that successfully uses "all stuff in a single
java package" approach?

I'm afraid that is too tight.

For instance, RxJava mixes "annotations and internal package"
approach: https://github.com/ReactiveX/RxJava#versioning

Vladimir



-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (8+ messages)  latest in thread

Message-ID: <002c01d0c570$0cd3f1d0$267bd570$@eu>
Permalink:  ../002c01d0c570$0cd3f1d0$267bd570$@eu/
Also on:    postgresql.org/message-id/002c01d0c570$0cd3f1d0$267bd570$@eu

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: markus@headcrashing.eu
  Subject: Re: Public vs internal APIs
  In-Reply-To: <002c01d0c570$0cd3f1d0$267bd570$@eu>
  References: <CAB=Je-Ha1mDY5Yzk035zEEQGFOTcMN71Gtpdo8CqjYfMAFJKRQ@mail.gmail.com> <001801d0c564$cd15bde0$674139a0$@eu> <CAB=Je-EELAJfmyo0uCwXewLhvqgg216Xs72R4YxtPqeyU3o-Yw@mail.gmail.com> <002901d0c567$c6f9fe00$54edfa00$@eu> <CAB=Je-HrCQV+J79nvsu3kUms97uJ1AGNa6ci5+ArOtv+EcXV3A@mail.gmail.com> <002c01d0c570$0cd3f1d0$267bd570$@eu>

* 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