--

I use objects as parameters for any external-facing (e.g. public/exposed) API as it helps to maintain backward compatibility. For internal APIs between different classes or functions, it doesn't matter much.

--

--

Responses (1)