Timeline for Elegant way to check return of getXY() for multiple values in conditional check
Current License: CC BY-SA 4.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 22, 2020 at 9:13 | comment | added | jusaca | Fair enough, I guess you have a good point there. Getters should be simple. But this is not exactly answering the question in general. Even with simple getters, the question still holds. Calling the function two times? Or use a temp variable? | |
| Dec 21, 2020 at 12:07 | history | answered | user291864 | CC BY-SA 4.0 |