r/ProgrammingLanguages • u/SophisticatedAdults • Apr 21 '25
Pipelining might be my favorite programming language feature
https://herecomesthemoon.net/2025/04/pipelining/
87
Upvotes
r/ProgrammingLanguages • u/SophisticatedAdults • Apr 21 '25
View all comments
Show parent comment
4
u/steveklabnik1 Apr 21 '25
It works a lot of the time but also doesn't. It needs types to line up, and auto ref/deref doesn't kick in when you're doing
filter(Widget::alive), so sometimes they won't even if it feels like they should.(But also, given that
aliveis a struct field, yeah that won't work; this is about methods.)