I love to find frustrated coders complaining on the comments of popular codebases. From the source of scala.io.BufferedSource:
"Yes, this is ridiculous, but if I can't get rid of Source, and all the Iterator bits are designed into Source, and people create Sources in the repl, and the repl calls toString for the result line, and that calls hasNext to find out if they're empty, and that leads to chars being buffered, and no, I don't work here, they left a door unlocked."
https://github.com/scala/scala/blob/2.13.x/src/library/scala/io/BufferedSource.scala#L45