Defensive Programming vs. Let It Crash

Lou Xun
July 30, 2016

Defensive Programming vs. Let It Crash

Shared at the second meetup of Elixir Shanghai.

A talk highly inspired by Ferd's "The Zen of Erlang" post, but from a different angle.

What does Erlang bring to the table that could enable us to be less defensive and more confident about our code?

Lou Xun

July 30, 2016

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

15 slides
  1. Other&ingredients • A#func(onal#language • much#less#state • Message#passing • async#opera(on •

    Monitor#&#Link • handle#process#down,#fail#as#a#unit • Preemp(ve#scheduling,#Distribu(on [email protected]$/$Ela$Workshop
  2. Erlang/OTP • A#set#of#Erlang#libraries#and#design'principles • gen_server#etc.. • maintain#state • unified#interface •

    supervisor • sole#job#is#supervising#children • start,#stop,#monitor,#restart [email protected]$/$Ela$Workshop

More Decks by Lou Xun

Other Decks in Programming