Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 1
    It might be a form of a guard: en.wikipedia.org/wiki/Guard_(computer_science) Commented Dec 9, 2013 at 16:19
  • @FrustratedWithFormsDesigner This sounds pretty much exactly right. Why did you submit as a comment and not an answer? Commented Dec 9, 2013 at 16:20
  • Ok, I'll write it up as an answer. Commented Dec 9, 2013 at 16:23
  • Aren't guards usually in a separate if statement, or at least separated by an else clause? Commented Dec 9, 2013 at 16:25
  • @RobertHarvey: I think this could be considered a more compact guard that can't have an else. Commented Dec 9, 2013 at 16:28