Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Learning Elm in 3 Days

Learning Elm in 3 Days

ElmEurope 2018 presentation slides.

bakkdoor

July 05, 2018
Tweet

More Decks by bakkdoor

Other Decks in Programming

Transcript

  1. Christopher Bertels bakkdoor Learning Elm in 3 Days Switching from

    JS & React to Elm for Syncrypt’s Desktop UI
  2. OO -> FP 
 Dynamic -> Static Stateful behavior, 


    implicit dependencies -> Pure functions, 
 explicit dependencies You do things differently over time
  3. Syncrypt: A Short Summary ❖ File backup & synchronization service

    (like Dropbox), but: ❖ Encrypts & decrypts only client-side: ❖ All file contents (using AES-256 bit symmetric encryption) ❖ All file metadata, including: ❖ File name (using SHA-256 hash) ❖ File size (random padding) ❖ All vault metadata (vault = syncrypted folder) ❖ Signature-Chain / Vault revision history ❖ CLI & daemon written in Python ❖ GUI written in Elm ❖ FOSS (GPL) client to make crypto & security analysis easier
  4. Writing decoders forces you to really think about the structure

    of your data 
 and if it makes sense. I like decoders that are easy and obvious to read. => I like data structures for which it is easy to implement decoders
  5. What I do know is that Elm has made it

    really easy for a newbie to the language to get productive within the first couple of days.
  6. If you’re interested in trying out Syncrypt, You can sign

    up for the beta that’s starting soon. Also, please just talk to me here if you have any questions or feedback. https://syncrypt.space