Just during the inspection, it's fine for me. I believe it's gonna help a lot during the development cicle
On Tue, Feb 14, 2017 at 5:37 PM, OvermindDL1 <overmind...@gmail.com> wrote: > I honestly would not, the map documentation very clearly states at > https://hexdocs.pm/elixir/Map.html that: > > > Key-value pairs in a map do not follow any order > > :-) > > On Tuesday, February 14, 2017 at 11:55:12 AM UTC-7, jisaa...@gmail.com > wrote: >> >> I'd be a little nervous that new devs might get the impression that maps >> are always sorted.... >> >> (I'm not necessarily opposed to the idea though) >> >> On Monday, February 13, 2017 at 9:31:31 PM UTC-8, Paul Schoenfelder wrote: >>> >>> +1 from me! >>> >>> On Mon, Feb 13, 2017 at 4:49 PM, Eric Meadows-Jönsson < >>> eric.meado...@gmail.com> wrote: >>> >>>> Currently struct and map keys are in indeterminate order when they are >>>> inspected. Due to implementation details in the VM maps that have <32 keys >>>> are in term order but for larger maps and structs the order is random. >>>> >>>> I propose always sorting the map keys when they are inspected so that >>>> it's easier to read and scan the results. >>>> >>>> -- >>>> Eric Meadows-Jönsson >>>> >>>> -- >>>> 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. >>>> To view this discussion on the web visit https://groups.google.com/d/ms >>>> gid/elixir-lang-core/CAM_eapis0_a16Z6HqptYtc2ekCQ46-eh_uzHZt >>>> QYkfQ1yHE%2B2g%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/elixir-lang-core/CAM_eapis0_a16Z6HqptYtc2ekCQ46-eh_uzHZtQYkfQ1yHE%2B2g%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- > 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-core+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/elixir-lang-core/49866d3d-07fb-4218-b537- > 860d0bbb546c%40googlegroups.com > <https://groups.google.com/d/msgid/elixir-lang-core/49866d3d-07fb-4218-b537-860d0bbb546c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Pedro Henrique de Souza Medeiros ---------------------------------- Cel: +55 (61) 9197-0993 Email: pedro...@gmail.com Beautiful is better than ugly, Explicit is better than implicit, Simple is better than complex, Complex is better than complicated. The Zen of Python, by Tim Peters -- 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-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAJbPmJNH4nawck9U7TA27yjnuGNusMq_%3DrEe9jR5VFz9AsjU-Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.