Re:SystemBSD: Custom D-Bus daemons emulating systemd behavio...
by simoncion on Sunday September 06, 2015 @05:41PM
(#10179149)
> If you want to re-implement logind you will invariably read the logind source code anyway...
1) Does this mean that you consider software's source code to be adequate documentation of an API and its behavioral contracts?
2) There's this saying that goes something like "You never know that you have a good API until you've created three independent implementations of it.". It's very difficult to create an independent implementation of an API if the primary documentation of important parts of that API's behavior is the source code that implements that API.
If you want to re-implement logind you will invariably read the logind source code anyway, where the call arguments are described.
You said there been a complaint about this, was there a discussion you can point me to ?