ElixirCasts
Forum Sponsor
@impl Attribute
In this episode we’ll look at the @impl attribute and how it can be used to make code more readable.
Most Liked
Fl4m3Ph03n1x
@impl is actually one of my favorite attributes. I do however use it in a different way, for example, in the code you showed I would have used @impl GenServer to make it clear which behaviour is being implemented.
The issue with this approach however, is that to avoid doing @impl MyApp.SomeModule.MyBehaviour everywhere, I usually have to put an alias call before, which messes up the Elixir style guidelines which say that an alias should be after a behaviour call.
But oh well, good to know you’re still rocking!
1
Popular in Screencasts
3 episodes at $6.75 each
Build real-time apps with ease using Phoenix. In this screencast series, get a brief introduction to the Elixi...
New
I made follow-up video for getting started with GenServer. This video goes over the syntax of handle_call, handle_cast and handle_info c...
New
We produced five weeks of free content introducing people to Elixir and the basics of OTP, Ecto, and Phoenix. Today we’re announcing that...
New
I got a new video up on doing multi tenancy in phoenix 1.3 using Apartmentex.
Lemme know if any questions. :grinning:
http://www.schmi...
New
From time to time on the forums here, I see people asking for examples of specific comments / answers in code form. I’ve also noticed tha...
New
Tokumei helps with building cloud native web applications. Some of the features that help to make it cloud ready.
Containerised by defa...
New
Hey!
Here’s a little video I made on how you can start using Neovim for Elixir/Phoenix development:
If you like it, pleas...
New
Other popular topics
Hi folks,
Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
New
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
Hello everyone,
Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
What learn first? Rust or Elixir
Hi Elixir community!
I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New
I am trying to run a deploy with docker and I successfully runned with this command:
docker build -t romenigld/blog-prod .
but when I t...
New
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex










