by signal11 · 6y ago · 0 comments
Even languages like Java now recognise the need to provide convenient access to text files as part of the standard API, with Files.readAllLines() in 7, Files.lines() in 8, and Files.readString() in 11.
Besides, Python has pathlib now, which allows you to do Path("foo").read_text() for quick and dirty text handling already.