Lecture 9 Notes

p 47 h e 3 p

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ¤ !£  ¨ ¤ & ©¥ ¨¦£ 99  5¨¥ ¤ ( £  ¥ £ ¥ © C 7C ¤ S%£    ¡  ¨ § & 6 © § ©§ ¥ ¥ © ¢£    7© " & 6 © § ¤ S%£    ¡  ¨ §  ¢ ¤ S%£    ¡  ¨ § & 6 © §  ¡" ¤ S%£    ¡  ¨  § & 6 © § £  © & ¥ © § ¤ 6 ©    ¡  ¨ § 7 ¡ ¤ S%£    ¡  ¨ 9 § & 6 © § § ©8 B ¢ 7 ¢ ¦( £  ¥ £ ¥ ) © ¥ £ ¥ %  9 3 § ¢ 18   F    ¦  ¥6!    ¤ 8 £ ¥ ¢¡¥ !¥ ¤  ¥ © ©© "6 X£ ¢  ¨ ¢ 7¤ !§ ¢ E & ¤ &6 3 " ¡" ¤ S%£    ¡  ¨ & 6 © §  W 7SW & 6 © § C ¤ S%£    ¡  ¨ §  7 & 6 © § ¡¤ S%£    ¡  ¨ " § C 7C ¤ &S%£    ¡  ¨ § 6 © § ©§ ¥ ¥©¢ £    ¡  ¨ £ § © § £    ¡  ¨ § © § £    ¡  ¨  § © §  ¥©    ¡  ¨ £ § © § £    ¡  ¨ 9 § © § ¥ © § 9 § ©  ¡  ¨ 9 § ¥ £¥  § ¨¥   ¢ ¦( £  ¥ £ ¥  ) © £¨  £¨    ©§¥ ¤ ¤ & ©¥ ¨¦£  ¨¥ ¤ ( £  ¥ £ ¥ © in . ¡ This is ¡ 7© " ¤ S%  & 6  ¢ & 6 ¤ S%  ¡" & 6 ¤ S%  © ¤ 6 & 7¡¢ ¢ & 6 ¤ S%  SC ¤ !¡6 &  ¢7 3 % 9 95 ¤ ¢ C & ¢ ( &¢ ¤ !   99 5  5.3 IMPLICIT-REFS: a language with implicit references The explicit reference design gives a clear account of allocation, dereferencing, and mutation because all these operations are explicit in the programmer’s code. Most programming languages take common patterns of allocation, dereferencing, and mutation, and package them up as part of the language. Then the programmer need not worry about when to perform these operations, because they are built into the language. In this design, every identifier denotes a reference. De...
View Full Document

This document was uploaded on 03/17/2014 for the course CSG 111 at Northeastern.

Ask a homework question - tutors are online