You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need to think about the logic of detecting of Magic Numbers. Right now it is not supported in the diktat.
May be we should even do the following: for the very long mathematical expressions calculate them and insert into the code.
val a = someObj + (1 + 2 + 3) should trigger a warning that (1 + 2 + 3) should be moved to constant
The text was updated successfully, but these errors were encountered:
Need to think about the logic of detecting of Magic Numbers. Right now it is not supported in the diktat.
May be we should even do the following: for the very long mathematical expressions calculate them and insert into the code.
val a = someObj + (1 + 2 + 3)
should trigger a warning that(1 + 2 + 3)
should be moved to constantThe text was updated successfully, but these errors were encountered: