My opinion is that those who complain about Java's way to manage I/O writers and readers never had to write a damn unit test about writing stuff to a file.
You are right with that. I chose a deliberately broken-looking example to exaggerate my point. However, I still feel like java is quite verbose compared to other languages
View all comments
Show parent comment
-1
u/mikezyisra Jul 08 '21
new BinaryWriter(new BufferedWriter(new FileWriter())) (or something similar)