~/talk

better files: Towards a safe, sane I O library in Scala

Talkat Scala Days Berlin 2016 · 2016-06-15..06-17· [developer-experience, databases]
slides:none on file

Better-files provides a thin wrapper around Java NIO that smooths corner cases (follow links, defaults for open options, codec handling), adds implicits for Java IO conversions, and returns sensible fluent types (move returns destination). It implements self-closing iterators, a faster Scanner (about 5–6× faster than Java's regex-based Scanner), a ZIP/unzip tool and a robust file watcher with an actor-based layer built on top; core is ~450 lines of code with ~3,000 lines of tests and claims near 100% coverage.

AI-written summary · about

  1. 0:00Start
  2. 2:51Appending to a file
  3. 5:47Copying Files Directories
  4. 7:15Scala Solutions
  5. 13:12Scala - A Melting Pot of Ideas
  6. 16:06Completely Opinionated Design Goals
  7. 36:11Signalling Intent via Literal Types
  8. 37:24Automatic Resource Management
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.