Reorganizing
This commit is contained in:
parent
a4f6467d78
commit
f4886ee235
326 changed files with 4 additions and 0 deletions
|
|
@ -0,0 +1,26 @@
|
|||
+++
|
||||
title = "Unnecessary Function Parenthesis"
|
||||
weight = 1280
|
||||
+++
|
||||
Do not use parenthesis in a function call if the function does not have any parameters.
|
||||
Bad code
|
||||
|
||||
IF ReservMgt.IsPositive() THEN
|
||||
|
||||
|
||||
|
||||
Good code
|
||||
|
||||
IF ReservMgt.IsPositive THEN
|
||||
|
||||
|
||||
|
||||
Bad code
|
||||
|
||||
IF ChangeStatusForm.RUNMODAL() <\> ACTION::Yes THEN
|
||||
|
||||
|
||||
|
||||
Good code
|
||||
|
||||
IF ChangeStatusForm.RUNMODAL <\> ACTION::Yes THEN
|
||||
Loading…
Add table
Add a link
Reference in a new issue