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

Add feature for constants exercise #56

Open
mikedamay opened this issue Aug 1, 2020 · 0 comments
Open

Add feature for constants exercise #56

mikedamay opened this issue Aug 1, 2020 · 0 comments

Comments

@mikedamay
Copy link

Task 5 of the constants exercise is to "Ensure that the developers cannot be tampered with". The intention here is to encourage the student to wrap the developers dictionary in an instance of ReadOnlyDictionary<string, Identity> in the Authenticator.GetDevelopers() method and to return that type or IReadOnlyDictionary<string, Identity> from the method.

This concept is expressed elsewhere as "preventing code circumventing the published or formal API of a class".

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

No branches or pull requests

1 participant