From: probert@cuda.uhc.com (Paul Roberts)
Subject: RPC Naming Conventions
Date: 7 Apr 1994 15:09:16 GMT [thread overview]
Message-ID: <2o17ms$57gl@lochness.uhc.com> (raw)
I have recently been putting much thought into
naming conventions within a DCE application.
Specifically, the naming of functions within
DCE to aid in maintaining the application and
to foster re-use of the functions in other
applications.
I have surveyed most of the books out there and
scanned source code of sample examples that were
available. About the only "standard" naming
convention I saw was that the DCE functions (RPCs)
were made up of the interface name followed by a
descriptive name of the DCE function.
An example would be a server that defines an interface
called "db". All DCE functions within that server
would have "db" as the prefix (i.e. db_load, db_insert,
etc).
I see as a positive with this convention in that I can
tie a specific DCE function name to an interface. But
that is also a negative. What if after, or during, the
design phase I decide to move that function out of that
interface to a different one?
Anyone else thinking of this kind of stuff?
--
Paul Roberts e-mail: probert@uhc.com
United HealthCare Corporation, MR06-6130 phone: 612-945-6378
9705 Data Park Drive, Minnetonka, MN 55073 fax: 612-945-6502
next reply other threads:[~1994-04-07 15:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-04-07 15:09 Paul Roberts [this message]
1994-04-12 13:43 ` RPC Naming Conventions Jon Mauney
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox