Changes for page WebObjects with Scala

Last modified by Ravi Mendis on 2011/05/10 02:10

From version 500.1
edited by Ravi Mendis
on 2010/12/24 00:54
Change comment: There is no comment for this version
To version 502.1
edited by Ravi Mendis
on 2010/12/24 01:35
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -5,11 +5,11 @@
5 5  Many of the design features of Scala have been chosen with concurrency in mind, some of which may not be unfamiliar to Objective-C or WebObjects developers. Here's a summary:
6 6  
7 7  |= |= Objective-C |= Java |= Scala
8 -|= Immutability | Collections //e.g: NSArray/NSMutableArray// | No | Yes
9 -|= Closures | Blocks (//Extension//) | No | Anonymous Functions
8 +|= Immutability | Partial - via collections //e.g: NSArray/NSMutableArray// | No | Yes
9 +|= Closures | Yes - via Blocks (//Extension//) | No | Yes - via Anonymous Functions
10 10  |= Static variables | Yes | Yes | No
11 11  |= Static methods or functions | Yes | Yes | No
12 -|= Concurrency | [[Grand Central Dispatch>>http://en.wikipedia.org/wiki/Grand_Central_Dispatch]] (//Extension//) | //Threads// | [[Actors>>http://en.wikipedia.org/wiki/Actor_model]]
12 +|= Concurrency | Yes - via [[Grand Central Dispatch>>http://en.wikipedia.org/wiki/Grand_Central_Dispatch]] (//Extension//) | //Yes - via Threads// | Yes - via [[Actors>>http://en.wikipedia.org/wiki/Actor_model]]
13 13  |= |= Weakly Typed |= --Strongly Typed-- |= Strongly Typed
14 14  
15 15  Other notable features include:
... ... @@ -16,7 +16,7 @@
16 16  
17 17  |= |= Objective-C |= Java |= Scala
18 18  |= Parametered methods | Yes //e.g: addObject: to~:// | No | Yes //e.g: add(object= ,to=)//
19 -|= Class composition | Categories | Interfaces | Traits
19 +|= Class composition | Yes - via Categories | Yes - via Interfaces | Yes - via [[Traits>>http://en.wikipedia.org/wiki/Trait_(computer_science)]]
20 20  
21 21  === Why Use Scala? ===
22 22