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
Searchable Names Part1 in Good code section incorrect variable is used #125
Comments
IsaacMorris1980
changed the title
Searchable Names Part1 in Good code section data is used instead of person
Searchable Names Part1 in Good code section incorrect variable is used
Jul 7, 2023
You are also not following the very first rule "Avoid using bad names". What do "ser2 and "sr2" stand for? |
@olmeyer I agree i was not asking about all the incorrect items on the good side
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Searchable Names Part 1 seaction 2
Bad:
Good:
As you can see in ser2.WriteObject(stream2, data); should be person not data as data has not been declared and to match what bad code block is doing
The text was updated successfully, but these errors were encountered: