logoalt Hacker News

RHSeegertoday at 5:54 PM1 replyview on HN

> Naming the variables can help readability

It can, or it can't; depending on the situation. Sometimes it just adds weight to the mental model (because now there's another variable in scope).


Replies

skybriantoday at 9:46 PM

Sure, I like chained method calls too, for simple things. But it gets ridiculous sometimes where people write a ten-stage pipeline in a single expression and then call that "readable."