* productOfLuminanceAndDotProductOfSurfaceNormalAndLightDirectionDividedByScatteringConstant*
Note that the id-length rule also allows you to limit the maximum length of a variable name. This is why.
I understand that, but what in your mind would be a good replacement to name such a complex, abstract value? A long acronym perhaps? I don't see how that's any more clear or less arbitrary than a single character name.
Agreed. I'd much prefer something along these lines as opposed to using an overly long name:
`
/* product of luminance and dot product of surface normal and light direction divided by scattering constant */
const prod = ...
`
I think there are a lot of advantages to abiding by styling conventions and using linters to set a baseline, but there are always exceptions to the rule.