An Interest In:
Web News this Week
- April 15, 2024
- April 14, 2024
- April 13, 2024
- April 12, 2024
- April 11, 2024
- April 10, 2024
- April 9, 2024
October 22, 2021 09:55 pm GMT
Original Link: https://dev.to/curiosum_dev/elixir-trickery-cheating-on-structs-and-why-it-pays-off-4eb6
Elixir Trickery: Cheating on Structs, And Why It Pays Off
While we can't say cheating on anyone is okay, we're not as absolutistic when it comes to cheating on Elixir at times.
Structs are there for a reason (we'll start from a brief overview), and that's certainly not for us to cheat on them. But we can if we have to - and we'll sometimes even justify that and get away with it!
Today's article will come in handy especially for those who are interested in developing libraries for Elixir and making them usable across different dependency versions, which is always a problem when writing code intended to be pluggable into different applications. Read more...
Original Link: https://dev.to/curiosum_dev/elixir-trickery-cheating-on-structs-and-why-it-pays-off-4eb6
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To