Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report train wrecks as violation of information hiding principle #507

Open
RalfKoban opened this issue Nov 29, 2022 · 0 comments
Open

Report train wrecks as violation of information hiding principle #507

RalfKoban opened this issue Nov 29, 2022 · 0 comments

Comments

@RalfKoban
Copy link
Owner

We should report warnings for so-called train wrecks that violate the information hiding principle.
Train wrecks are calls such as var x = A.B.C.D.E.F.G.h() where A - G are properties or invocations.

The reason for the warning is that there is too much information involved and spread across the code. To call h() you need to know that there is an A which has a B which in turn has a C that has a D ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Unclear
Development

No branches or pull requests

1 participant