4 Nice Ways to Read Files in Scala - Read Files Like a Boss | Rock the JVM

Опубликовано: 16 Октябрь 2024
на канале: Rock the JVM
9,128
238

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
-------------------------------------------------------------------------