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

Improve code clarity #1530

Merged
merged 1 commit into from
Aug 11, 2015

Conversation

me-and
Copy link
Contributor

@me-and me-and commented Aug 10, 2015

Use journal->is_visible in preference to journal->statusvis eq "V" -- the former is considerably more readable.

Per @zorkian and @rahaeli in #1525 pointing out to me that is_visible is a thing that exists.

Use `journal->is_visible` in preference to `journal->statusvis eq "V"`
-- the former is considerably more readable.
kareila added a commit that referenced this pull request Aug 11, 2015
Improve code clarity by using is_visible instead of checking the value of statusvis.
@kareila kareila merged commit 50a6c36 into dreamwidth:develop Aug 11, 2015
@kareila
Copy link
Member

kareila commented Aug 11, 2015

Yay readability!

@me-and me-and deleted the 1523-hide-deleted-account-tags branch February 20, 2016 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants