Avoid using show
or hide
in the names of variables that control visibility, because it’s hard to differentiate the state from the event that sets it.
“Show” is a verb. “Visible” is an adjective.
The show_modal
action sets the modal_visible
variable to true
.
Your daily reminder that naming things is hard.
Avoid using show
or hide
in the names of variables that control visibility, because it’s hard to differentiate the state from the event that sets it.
“Show” is a verb. “Visible” is an adjective.
The show_modal
action sets the modal_visible
variable to true
.
Your daily reminder that naming things is hard.