Towards less magic strings.

Brad Bishop bradleyb at fuzziesquirrel.com
Fri Sep 15 00:26:37 AEST 2023


On Thu, 2023-09-14 at 01:36 -0500, Patrick Williams wrote:
> When I look at these, the vast majority of them falls into 1 of 4
> different reasons:
>     - A well-known service name.
>     - A well-known path (or path prefix).
>     - An interface name.

In my mind these are not magic strings.  These are parts of an API.  We
don't get annoyed by having to hardcode c++ function names when we call
them - why do we get annoyed by having to hardcode DBus names?

Thanks,
Brad


More information about the openbmc mailing list