HomePhabricator

Refactor: Remove indirection (where alternatives exist)

Tags
None
Referenced Files
None
Subscribers
None

Description

Refactor: Remove indirection (where alternatives exist)

The get method while well intended, adds an unnecessary level of
indirection to our code and can't be easily typechecked. Using
the methods directly (which if you review core code, these all
directly map to those methods) makes the code much more of a pleasure
to read.

Bug: T251212
Change-Id: Ibb2a69801d3b004a0a174308d3ac04d1d228807c

Details

Provenance
JdlrobsonAuthored on Apr 28 2020, 5:58 PM
Parents
rSVEC97121a228fb8: [Minor] Favor msg and getConfig over getMsg and ->config
Branches
Unknown
Tags
Unknown
ChangeId
Ibb2a69801d3b004a0a174308d3ac04d1d228807c