Re:It's probably time to stop recommending Clean Code (2020)
by quantified on Wednesday May 26, 2021 @03:57AM
(#27287656)
Quite a bit of sentiment around against long names, I personally am fine with them up to about 30-35 chars or so, then they start to really intrude. Glad you’re not put off by choosing function over form!
[ Parent
| on HN ]
Re:It's probably time to stop recommending Clean Code (2020)
by CRConrad on Wednesday May 26, 2021 @02:40PM
(#27294415)
Stretch it to 36, and that is four not-all-that short words, at 4× 9 = 36 letters. Form and function! :-)
So it gets monstrous only from five words upwards or so... But still, I think I may by sheer coincidence have come up with a heuristic (that I'm somewhat proud of): The more convoluted the logic = the longer the code needed to express it ==> the longer a name it "deserves".