Topic: No { and } in code after if statement
Hello.
I'm discovering the code of punbb and I've just installed a mod.
It seems that the code would be much better if all "if" statements had a '{' after even if there is only one line after and then a "else" statement.
I know it is not a bug but this could:
1) enhance code readability
2) mod insertion (for example, if you need to add a line for a mod after a "if" statement and want to keep the original as a comment, then it is much better to have a '{' before and '}' after, isn't it ?)
I have been working as a programmer for more than 10 years and I can tell you that this is absolutely essential.
Also, please note that in most programming guides or code rules, you will find that the '{' is on the same line as the "if" or "else" statement. This is the de facto standard.
Hope this will help.
EDIT: Moved