On Wed, Feb 2, 2011 at 7:20 AM, Stephen Bloch <span dir="ltr"><<a href="mailto:sbloch@adelphi.edu">sbloch@adelphi.edu</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br><div class="im">
> Another thing I'd be interested in suggestions with is how to deal with updating a struct in a clean way. Right now, you need to explicitly wrote set-world-X functions for each field in your struct, which is pretty ugly. Also, the fact that structs don't have field names makes them more error prone. None of this is well suited towards building complex worlds with lots of components.<br>
<br>
</div>I'm not sure what you mean by "structs don't have field names", but the issue of updating individual fields of a struct is under discussion; in a version Fairly Soon the student languages will probably have functions that produce a copy of a given struct with a single field replaced.<br>
<br></blockquote><div><br>Sorry, I was unclear. What I meant to say is that struct constructors don't use field names. My sense is that this makes dealing with large complex structs error prone.<br><br>y<br></div></div>