Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
shubhjain
· 1y ago · 0 comments
Are the wordings "pure" vs "impure" suitable here, or should it have been "stateless" vs "stateful"?
Comments
[–]
jub0bs
1y ago
"Stateless" does not seem as strong as "pure", and purity is what I'm after. What about an iterator that maintains no state but prints to the screen? You could describe it as a "stateless", but not as "pure".