> Another idea is to deprecate `Date.from_iso8601(string, calendar)` in favour > of `Date.from_iso8601(string, calendar: calendar)`, and then `:format` > becomes just another option.
I’m +1 for this one. For optional parameters it is always good what actually that’s optional that it receives. I would even deprecate every `Date.something(date, calendar)` call in favor of that. Best, Kelvin Stinghen [email protected] > On Sep 7, 2019, at 10:10, Wojtek Mach <[email protected]> wrote: > > Another idea is to deprecate `Date.from_iso8601(string, calendar)` in favour > of `Date.from_iso8601(string, calendar: calendar)`, and then `:format` > becomes just another option. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/C101F06D-C6B7-4025-B722-78AD34906203%40gmail.com.
