Skip to content

Change some potentially confusing naming#269

Merged
aniav merged 1 commit intoDjangoGirls:masterfrom
AlexHill:patch-2
Mar 27, 2015
Merged

Change some potentially confusing naming#269
aniav merged 1 commit intoDjangoGirls:masterfrom
AlexHill:patch-2

Conversation

@AlexHill
Copy link
Copy Markdown
Contributor

@AlexHill AlexHill commented Mar 6, 2015

I feel that the line NameError: name 'names' is not defined could be a bit confusing. Too many names! I think it's clearer if the variable we're using has nothing to do with the string "name". I've also made the incorrect variable name a typo of the correct one, which ties in with the explanatory text that follows.

On the other hand, the example now differs from those before and after it, so I totally understand if you'd rather not make this change.

@keikoro
Copy link
Copy Markdown

keikoro commented Mar 6, 2015

One solution would be to change the other examples as well. (;

@aniav aniav closed this Mar 27, 2015
@aniav
Copy link
Copy Markdown
Member

aniav commented Mar 27, 2015

Ah damn, not this pull request.

@aniav aniav reopened this Mar 27, 2015
@aniav
Copy link
Copy Markdown
Member

aniav commented Mar 27, 2015

I am merging this and I will change the example in other languages. Thank you! ⚡

aniav added a commit that referenced this pull request Mar 27, 2015
Change some potentially confusing naming
@aniav aniav merged commit 4985ff4 into DjangoGirls:master Mar 27, 2015
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.

3 participants