Changes for page WebObjects with Scala

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

From version 450.1
edited by Ravi Mendis
on 2010/12/23 06:56
Change comment: There is no comment for this version
To version 451.1
edited by Ravi Mendis
on 2010/12/23 07:08
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,14 +1,11 @@
1 1  === What is Scala? ===
2 2  
3 -[[Scala>>http://en.wikipedia.org/wiki/Scala_(programming_language)]] is a JVM language that is a hybrid of Object-Oriented and Functional styles. It is useful as complete general purpose replacement for Java. But its built-in Actors library makes it especially attractive for concurrent computing. In this day and age of multi-core processors, concurrent computing can't be ignored.
3 +[[Scala>>http://en.wikipedia.org/wiki/Scala_(programming_language)]] is a JVM language that is a hybrid of Object-Oriented and Functional styles. Its [[functional language>>http://en.wikipedia.org/wiki/Functional_programming]] foundations and built-in Actors library makes it especially attractive for concurrent computing. In this day and age of multi-core processors concurrent computing can not be ignored.
4 4  
5 -Many of Scala's features have been designed with concurrency in mind, primarily a preference for immutability and the use of other functional language paradigms.
6 -Some of these may not be unfamiliar to Objective-C or WebObjects developers.
5 +Many of Scala's features have been designed with concurrency in mind, some of which may not be unfamiliar to Objective-C or WebObjects developers. Here's a summary:
7 7  
8 -Here's a quick summary:
9 -
10 10  |= |= Objective-C |= Java |= Scala
11 -|= Separation of Mutable & Immuable Datatypes | Collections //e.g: NSArray/NSMutableArray// | No | Yes
8 +|= Immutability | Collections //e.g: NSArray/NSMutableArray// | No | Yes
12 12  |= Closures | Blocks (//Extension//) | No | Anonymous Functions
13 13  |= Static variables | Yes | Yes | No
14 14  |= Static methods or functions | Yes | Yes | No