Skip to content

Make internal methods private#368

Open
ivastly wants to merge 1 commit intointercom:masterfrom
ivastly:make-internal-methods-private
Open

Make internal methods private#368
ivastly wants to merge 1 commit intointercom:masterfrom
ivastly:make-internal-methods-private

Conversation

@ivastly
Copy link

@ivastly ivastly commented Nov 4, 2024

Why?

There are many identical public methods called somethingPath().
They are 100% internal.
There is no need to expose them to the outside world.
Moreover, these methods clutter the public interface and confuse the clients of the code.

The idea is to make them private.

How?

Methods are made private, redundant tests removed (as we don't test private methods).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant