SyntaxFix
Write A Post
Hire A Developer
Questions
I personally avoid else blocks when possible. See the Anti-if Campaign
else
Also, they don't charge 'extra' for the line, you know :p
"Simple is better than complex" & "Readability is king"
delta = 1 if (A > B) else -1 return A + delta