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

Life Without Footguns (Part 2)

Life Without Footguns (Part 2)

Chew Choon Keat

March 26, 2021
Tweet

More Decks by Chew Choon Keat

Other Decks in Programming

Transcript

  1. About • Basic • C, Perl, Java • Javascript &

    Ruby on Rails for 10 years • Go and Elm in the past few years • @choonkeat
  2. About • Basic • C, Perl, Java • Javascript &

    Ruby on Rails for 10 years • Go and Elm in the past few years • @choonkeat How to do things How to NOT do things
  3. “You wanted a banana but what you got was a

    gorilla holding the banana and the entire jungle.” 
 — Joe Armstrong (Erlang) Funny quip
  4. “You wanted to call the formatUserName method but you’d have

    to wait for Zookeeper to boot and Kafka to connect” 
 — Me Has costs
  5. A Good Thing ™ a function with exact arguments is

    a maintainable and reusable unit of code
  6. Nobody:
 
 Functional programming articles: instead of add(3, 5) when

    you curry, you can get add3(5) !!!11!!1 Digression
  7. A Good Thing ™ a function with exact arguments is

    a maintainable and reusable unit of code