Elixir Episode 13: Structs & Structs extensions
Автор: Techweber
Загружено: 2021-02-15
Просмотров: 114
Описание:
In this video training, you'll learn how to use structs & structs extensions in Elixir.
Structs are extensions built on top of maps that provide compile-time checks and default values. Structs take the name of the module they’re defined in. Structs provide compile-time guarantees that only the fields (and all of them) defined through defstruct will be allowed to exist in a struct
Structs can also be used in pattern matching, both for matching on the value of specific keys as well as for ensuring that the matching value is a struct of the same type as the matched value.
If you need professional help, you can email me at [email protected]
Facebook ::
/ usman.mahmood.92167
Linked-in :
/ umahmood
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: