Boolean parameters in methods. Why not?
-
12-11-2019 - |
题
I'm using reek
as an analyzing tool for best practices in my code. However recently I found that if in the method, I have boolean parameters, such as.
def method (flag = true)
reek
gives me a warning. Why does reek
tell me that it is a warning?
没有正确的解决方案
不隶属于 StackOverflow