Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
masklinn
6y ago
0 comments
Save
Share
`f` might be iterable / iterator with completely different semantics than doing by-line iteration. And that might even be a good idea.
0 comments
1 comments · 1 top-level
top
newest
oldest
thomasahle
6y ago
In this case it isn't though. And if it were, you could provide an `f.lines()` iterator. The code would be much nicer that way.
j
/
k
navigate · click thread line to collapse