<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>Moock</title>
		<link>http://ericd.wikidot.com/forum/t-42742/moock</link>
		<description>Posts in the discussion thread &quot;Moock&quot;</description>
				<copyright></copyright>
		<lastBuildDate></lastBuildDate>
		
					<item>
				<guid>http://ericd.wikidot.com/forum/t-42742#post-111480</guid>
				<title>ECMAScript 4: Moock &amp; Francis Cheng</title>
				<link>http://ericd.wikidot.com/forum/t-42742/moock#post-111480</link>
				<description></description>
				<pubDate>Thu, 21 Feb 2008 19:58:39 +0000</pubDate>
				<wikidot:authorName>edolecki</wikidot:authorName>				<wikidot:authorUserId>85428</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <h3><span>Francis Cheng's <a href="http://blogs.adobe.com/fcheng/">blog</a> about ECMAScript4.</span></h3> <h3><span>Moock's lecture notes can be found <a href="http://moock.org/lectures/newInECMAScript4/">here</a>.</span></h3> <ul> <li>Generic Functions: This functionality will add Java-style method overloading to ActionScript. A function must be defined with the keyword generic, but then mutliple methods (with different method signatures) can be used.</li> <li>Iterators and Generators: Increased support for iterating over a series of values using a class defined iterator. Both of these items are very Python-like.</li> <li>Proper Tail Calls: A function can properly call another function as its last operation - this adds increased support for recursion patterns.</li> <li>New Number Types: byte, double, decimal (and the current generic ‘Number’ type would be removed)</li> <li>Numeric Suffixes: As in Java, numeric literals will have suffixes to denote their specific numeric type.</li> <li>Vector Type: As in Java, there will be a mono-typed array called Vector. Length can optionally be pre-defined at creation.</li> <li>Record Type: Describes the details of an object - easier to create than a class. I believe it is dynamic - in that it has required values, but additional properties can be defined per instance.</li> <li>Array Type: A type that describes what will be contained within an array. For example - you could say that you will have a 7-element array made up of Strings.</li> <li>Union Types: A property (or argument) could be one of a list of types (as opposed to now where a property has to be of one type - or no type). This would give you the ability to have an argument that could be a String or XML - but nothing else.</li> </ul> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>