2. The Record module has changed. Previously, the Record module documentation was about the to-be-deprecated-Elixir-Records. We have just changed it to be about the records from now on (which are basically wrappers around Erlang records).In other words, all of the publicly documented functions in the Record module in v0.13 are meant to be public and they are not going to be deprecated. The old API still works (because we want to keep backwards compatibility) however the old API is marked as "@doc false" and will be deprecated in future releases.
1. What advice should I give readers about records vs. maps. When should they use one or the other?
2. What is the future of protocols?
2. What is the future of protocols?Protocols remain mostly the same. I expect them to be considerably faster though. Currently we dispatch on structs (based on the value of __struct__) and we dispatch on records too. In the future, { Hello, :world } will always dispatch to the tuple implementation (i.e. you can no longer implement protocols for recods).
--
You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-ta...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On a related note, will you be adding back an option to inspect
to display records as tuples?
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.