<div dir="ltr"><div class="gmail_quote"><div dir="ltr">Benoit Chesneau <<a href="mailto:bchesneau@gmail.com">bchesneau@gmail.com</a>> schrieb am Di., 23. Okt. 2018 um 14:51 Uhr:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all, <div><br></div><div>I'm polishing an api for a library that will be used by a lot of consumers. It seems important for me to respect much of the current expectations of Erlang developers, so I was wondering what people expect these days when using recent versions of Erlang > 20. </div><div><br></div><div>* passing options to a function: would you still expect to use a `propslist` or a `map`? In which case are you using one or the other?</div></div></blockquote><div><br></div><div>I usually prefer the readability of a maps match in a function head or guard for options over the more complex use of proplists. However, for compatibility reason I tend to support proplist for options as well.</div><div>Converting proplists to maps is straight forward, so the coast of supporting both should be quite low.<br></div><div><br></div><div>Andreas</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><span style="font-family:monospace,monospace">-- <br>Dipl.-Inform. Andreas Schultz<br><br>----------------------- enabling your networks ----------------------<br>Travelping GmbH Phone: +49-391-81 90 99 0<br>Roentgenstr. 13 Fax: +49-391-81 90 99 299<br>39108 Magdeburg Email: <a href="mailto:info@travelping.com">info@travelping.com</a><br>GERMANY Web: <a href="http://www.travelping.com">http://www.travelping.com</a><br><br></span><div><span style="font-family:monospace,monospace">Company Registration: Amtsgericht Stendal Reg No.: HRB 10578</span></div><span style="font-family:monospace,monospace">Geschaeftsfuehrer: Holger Winkelmann VAT ID No.: DE236673780<br>---------------------------------------------------------------------</span></div></div>