Guards! Guards! the What, How and Why
This video was recorded at Code BEAM V 2020 - https://codesync.global/conferences/code-beam-v
Get involved in the next Code Sync conference - https://codesync.global
GUARDS! GUARDS! THE WHAT, HOW AND WHY by Wiebe-Marten Wijnja
ABSTRACT Guard conditions are one of Elixir (and Erlang)'s fundamental constructs. In this talk we take a '6 levels of difficulty' approach, explaining:
- what guards are, exactly.
- the differences between
cond,caseandwith - how guard conditions differ from similar constructs in other languages.
- building your own guards using
defguard - how to write 'guard-aware' macros.
- how to go completely overboard in writing guard-safe code (and why you should not do so ;-) )
Slides & full abstract: https://codesync.global/speaker/wiebe-marten-wijnja/
THE SPEAKER - WIEBE-MARTEN WIJNJA Developer / Contributor / Fanboy
Wiebe-Marten loves conceiving things that just keep working. A Computing Scientist in body and mind. Wiebe-Marten has 12+ years of practical web-development experience. In 2012, he started to specialise in working with decentralised, distributed and fault-tolerant systems. Initially working with Blockchain-based systems from 2012 onwards, the BitTorrent protocol, and other systems that allow for decentralised data sharing. He is an enthusiastic open sourcerer, a long-time developer using the Elixir programming language (maintainer of more than 20 libraries on Hex.PM), and a moderator on the Elixir Forum. You can also occasionally hear him (being wrong) in discussions on the Elixir mailing list. In his spare time, Wiebe-Marten loves making music (piano, marimba), running, dancing and experiencing new things.
More on Wiebe-Marten Wijnja: https://codesync.global/speaker/wiebe-marten-wijnja/
CODE SYNC & CODE BEAM V 2020 Code BEAM V is powered by Code Sync. Code BEAM V 2020 was sponsored by Klarna, Duffel, PepsiCo, Erlang Solutions, Mux, AppSignal, Clever Bunny, Pragmatic Bookshelf, O'Reilly, Manning Publications, Learning Stone, Groxio, Erlang Ecosystem Foundation.
CODE SYNC Website: http://www.codesync.global Twitter: https://www.twitter.com/CodeBEAMio Facebook: https://www.facebook.com/CodeSyncGlobal LinkedIn: https://www.linkedin.com/company/code-sync/ Mail: info at codesync.global