Timeline for Readability versus maintainability, special case of writing nested function calls
Current License: CC BY-SA 3.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 5, 2024 at 11:47 | comment | added | Frank Hopkins | all in all imho it all depends on what the methods are and what therefore the intermediate results are - meaningful steps on the way to the final value or just as in your first example part of a calculation with little meaning on their own. Plus depending on the methods, the domain and what familiarity with the respective meaning of the method names one can expect from a developer reading the code, the one liner gets more or less self explanatory just from the method names. | |
| Feb 27, 2018 at 9:41 | history | answered | Ozymandias | CC BY-SA 3.0 |