Boolean parameters in methods. Why not?
-
12-11-2019 - |
Frage
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?
Keine korrekte Lösung
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow