Written form to keep for later: https://blog.rockthejvm.com/nice-ways...
This video is for Scala programmers of all levels who just need to read a damn file and are blasted by the abhorrent Java abstractions: ObscureInputStreams, BufferedEverything, FancyChannels & co.
In this video I'll give my favorite 4 ways to read files in Scala, starting from how to use the Java APIs effectively and finishing with a 4-line piece of magic that will allow you to read files like Python: open("somefile").read().
Referred video:
We hate loops • This Doesn't Make Sense - Scala Loops
Follow Rock the JVM on:
/ rockthejvm
/ rockthejvm
-------------------------------------------------------------------------
Home: https://rockthejvm.com
-------------------------------------------------------------------------