<s>
In	O
computer	B-General_Concept
science	I-General_Concept
,	O
a	O
public	B-Architecture
interface	I-Architecture
is	O
the	O
logical	O
point	O
at	O
which	O
independent	O
software	O
entities	O
interact	O
.	O
</s>
<s>
The	O
entities	O
may	O
interact	O
with	O
each	O
other	O
within	O
a	O
single	O
computer	O
,	O
across	O
a	O
network	O
,	O
or	O
across	O
a	O
variety	O
of	O
other	O
topologies	B-Architecture
.	O
</s>
<s>
It	O
is	O
important	O
that	O
public	B-Architecture
interfaces	I-Architecture
will	O
be	O
stable	O
and	O
designed	O
to	O
support	O
future	O
changes	O
,	O
enhancements	O
,	O
and	O
deprecation	B-General_Concept
in	O
order	O
for	O
the	O
interaction	O
to	O
continue	O
.	O
</s>
<s>
architecture	B-Architecture
design	I-Architecture
document	O
.	O
</s>
<s>
document	O
with	O
a	O
plan	O
for	O
deprecating	B-General_Concept
obsolete	O
interfaces	B-Application
.	O
</s>
<s>
The	O
programmer	O
must	O
create	O
fully	O
insulated	O
classes	O
and	O
insulate	O
the	O
public	B-Architecture
interfaces	I-Architecture
from	O
compile-time	B-Application
dependencies	O
.	O
</s>
<s>
Design	O
interfaces	B-Application
to	O
be	O
statically	O
typed	O
.	O
</s>
<s>
Minimize	O
the	O
interface	O
’s	O
dependencies	O
on	O
other	O
interfaces	B-Application
.	O
</s>
<s>
Express	O
interfaces	B-Application
in	O
terms	O
of	O
application-level	O
types	O
.	O
</s>
<s>
Use	O
protocol	O
classes	O
to	O
define	O
public	B-Architecture
interfaces	I-Architecture
.	O
</s>
<s>
Various	O
methodologies	O
,	O
such	O
as	O
refactoring	O
,	O
support	O
the	O
determination	O
of	O
interfaces	B-Application
.	O
</s>
<s>
Refactoring	O
generally	O
applies	O
to	O
the	O
entire	O
software	O
implementation	O
,	O
but	O
is	O
especially	O
helpful	O
in	O
properly	O
flushing	O
out	O
interfaces	B-Application
.	O
</s>
