Re:Cognitive Biases in Software Development
by catchmeifyoucan on Tuesday March 31, 2020 @01:38AM
(#22735163)
I think line anxiety might be another one. Unless it’s just me. If I feel that a function or a file is just irregularly long compared to the others, I find myself asking if I need to break this thing up to be more abstract
[ Parent
| on HN ]
Re:Cognitive Biases in Software Development
by shervinafshar on Tuesday March 31, 2020 @11:04AM
(#22738189)
Definitely not just you. To quiet such anxiety, I usually ask myself whether the length of the function is affecting the readability and speedy understanding of the logic. Longer functions are not necessarily bad, but if they pack so many logical units and so many scope variables, they could be improved.