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?

没有正确的解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top