here’s what my first (virtual) solution was:
1 2 3 4 5 6 |
|
From the first look, the above implementation of a boolean function is as good as any. After all, it would return either true or false, there’s no 3rd option with booleans
Fun: Refactoring a Complex Delphi Boolean Function
http://zarko-gajic.iz.hr/fun-refactoring-a-complex-delphi-boolean-function/
时间: 2024-10-11 02:03:40