2 ms·
Yes it depends on context, but you should be able to lean on the existing context to shorten local names. E.g. a lambda param dealing with a collection of xxx_y
by karmakaze 5y ago
Yes it depends on context, but you should be able to lean on the existing context to shorten local names. E.g. a lambda param dealing with a collection of xxx_yyy_zzz_items can just be called item or xyz_item (if there are other item-like things nearby). Only lengthen the method body or take up vertical space with long names if it adds more than it detracts from reading and understanding the whole.