Re:Local Variables as Accidental Breadcrumbs for Faster Debu...
by mkehrt on Friday October 11, 2024 @01:16PM
(#41811344)
I strongly believe nested expressions increase cognitive overhead. Between the two examples in the blog post
vs
I'll pick the first one every time. This is a bit of an extreme example, but our languages provide us with the ability to extract and name subexpressions, and we should do that, rather than forcing people to parse expression trees mentally when reading code.
[ Parent
| on HN ]
There are no comments on this comment yet.