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

"val res" in READ_ME is not understandable #165

Closed
JohnReedLOL opened this issue Jan 22, 2016 · 2 comments
Closed

"val res" in READ_ME is not understandable #165

JohnReedLOL opened this issue Jan 22, 2016 · 2 comments

Comments

@JohnReedLOL
Copy link

val res = Messages.list(FakeRequest().withLoggedIn(config)(1))
^ What does "res" stand for? "resistant"? "restraint"? "recessitation"?

Please change it to something more understandable.

@scozv
Copy link

scozv commented Jan 22, 2016

result, I think

many times, when the code is only one line, or we need a temporary variable to hold the result value, we name the temporary variable as result

@gakuzzzz
Copy link
Member

gakuzzzz commented Mar 8, 2016

Yes, it means result

gakuzzzz added a commit that referenced this issue Mar 8, 2016
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

3 participants