Elixir crash course #11: Module attributes

preview_player
Показать описание
Join this channel to get access to perks:

Check my website:

Documentation:

Course content
0:00 - What are module attributes? Where to use them?
0:30 - Creating an attribute
1:20 - Attributes are created during compile time!
2:22 - Examples: base_url, default_locale
5:15 - Documentation
5:54 - moduledoc
6:32 - doc
7:00 - Reading the docs on VSCode
8:15 - Reading the docs on the terminal (iex)
8:50 - Markdown support
Рекомендации по теме
Комментарии
Автор

Another cool thing that I like about the examples section is that we can add them as doc tests for that function which can be run alongside other unit tests. Really neat stuff!

Divyansh