Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Those variables help to document intent by naming the intermediate values. They also make step-debugging more convenient. In languages with type declarations, they also serve to inform about the type of the intermediate value, which otherwise is invisible in a pipe sequence.


IDEs for languages with pipes allow break points on pipelines and can show inferred type annotations mid pipeline. Given the popularity of JS, this tooling will appear rapidly after pipe standardisation.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: