<br><br><div><span class="gmail_quote">2007/5/7, Vance Shipley <<a href="mailto:vances@motivity.ca">vances@motivity.ca</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Wed, May 02, 2007 at 01:21:41PM +0200, Ulf Wiger (TN/EAB) wrote:<br>}<br>} As it's not a great idea to export records in an API,<br>} I often prefer to take a property list as input.<br><br>Ulf,<br><br>Can you elaborate on why using a record in an API is a bad thing?
<br><br> -Vance</blockquote><div><br>Records depend on the preprocessor, and therefore introduce a <br>compile-time dependency between modules. When using e.g.<br>property lists, which are admittedly slower than records, adding
<br>a new property is easy. If you use a record, the users of the API<br>must recompile in order to be compatible, even if they don't <br>use the new option.<br> <br>BR,<br>Ulf W<br></div></div>