18 ms·
FFS, it's on the same line of code. The variable is live for a single expression. This is style wankery at its absolute worst.
by stouset 10y ago
FFS, it's on the same line of code. The variable is live for a single expression. This is style wankery at its absolute worst.
- nailer 10y agoSure but most functions are longer, small functions can grow, and consistency is better. On a separate matter: you should read the HN guidelines.
- stouset 10y ago> most functions are longer Irrelevant. This function is painfully short. > small functions can grow It's a microlambda passed to a map function. 99% of these will never grow past a single expression. Hell, 95% of these will never even be modified. > consistency is better What, exactly, is this inconsistent with? > you should read the HN guidelines There's a difference between being uncivil and expressing frustration frankly.
- nailer 10y ago> This function is painfully short. Irrelevant. Other functions are longer. And needless human minification will undoubtedly creep in there too. > What, exactly, is this inconsistent with? Other functions. > expressing frustration frankly. Calling someone a wanker isn't exactly a pinnacle of expression.
- pklausler 10y ago> Calling someone a wanker isn't exactly a pinnacle of expression. No, it's not. But you shouldn't confuse your own identity with your coding style preferences, which were what the comment used "wankery" to describe.