Problem
Have you ever wanted to save a string to a file? Well, it's one of this things you don't want to do in 3 lines of code like this:val f = new FileWriter("some/file/name.txt") f.write("My string I want to save") f.close()I would rather see it like that:
"My string I want to save".saveAs("some/file/name.txt")
No comments:
Post a Comment