У нас вы можете посмотреть бесплатно Elixir 101: LiveBook, Funs, Structs, & ExUnit Testing (...and more) или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
We’ll use LiveBook to start learning core Elixir concepts. LiveBook is an interactive playground for exploring, sharing, and collaborating on Elixir code. We’ll learn about LiveBook, then use it to explore some foundational Elixir knowledge. A .livemd file containing code in this episode that you can run in LiveBook is available at https://raw.githubusercontent.com/Jam... Code from all ElixirZone episodes can be found at https://github.com/JamesLavin/ElixirZone 0:00 Opening music 0:55 Update on Erlang Fundamentals episode 4 (“Distributed intelligence”) and Tech Management Crisis episode 2 2:50 Overview of what we’ll cover in this episode & the next two Elixir episodes 4:20 What is LiveBook? 6:08 Code for my talks lives in Github.com/JamesLavin/ElixirZone repository 7:03 Why are LiveBooks so amazing? Saved as ordinary text/Markdown files, which can be version-controlled and diffed, data visualization, collaborative editing, autocomplete, pop-up documentation, and many other cool features. 11:03 Installing & running LiveBook server 12:45 Using Livebooks 14:12 Using Markdown within a Livebook 15:43 Mermaid.js 18:02 Anonymous functions & the capture operator 22:03 Modules & named functions 23:22 Alias & import 24:15 Pipeline operator 25:21 Function arity 30:45 Multi-clause functions with pattern matching 33:20 Compiler warnings 36:10 Guard clauses 38:08 Enum.map & Enum.map_join 39:56 Maps & Structs (defstruct, @enforce_keys, and .__struct__()) & Enum.filter/2 44:25 Protocols (defimpl) 45:58 Module attributes (defined at compilation-time) 46:55 struct/2 for creating structs from maps 48:47 Map.put/3 (usable on structs, which can be treated as maps) 50:30 IO.inspect(structs: false) & Keyword lists: [{:key, “value”}] == key: “value” 52:48 ExUnit & example-based testing with assert & refute 56:42 RecursiveSelectiveMatch (install with Mix.install/1)