Jul-07-2017, 08:51 PM
Syntactically? No.
But there could be misunderstandings if you show your code to other people. And that's a sort of error.
If "your style" is to have semicolons at the end of each statement, why aren't you at least doing that consistently?
Why have a multi-line if block followed by an in-line else block? To me, that's much worse than semicolons.
But there could be misunderstandings if you show your code to other people. And that's a sort of error.
If "your style" is to have semicolons at the end of each statement, why aren't you at least doing that consistently?
Why have a multi-line if block followed by an in-line else block? To me, that's much worse than semicolons.