Changes for page WebObjects with Scala

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

From version 199.1
edited by Ravi Mendis
on 2009/09/16 19:00
Change comment: There is no comment for this version
To version 197.1
edited by Ravi Mendis
on 2009/09/16 19:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -63,7 +63,7 @@
63 63  
64 64  {{/code}}
65 65  
66 -=== Compacted imports ===
66 +==== Compacted imports ====
67 67  
68 68  Two lines in Java is compacted into one in Scala.
69 69  
... ... @@ -86,7 +86,7 @@
86 86  
87 87  == WOComponents in Scala ==
88 88  
89 -=== Compact Constructors ===
89 +==== Compact Constructors ====
90 90  
91 91  Scala allows for simpler use of multi-valued constructors than Java.
92 92  
... ... @@ -110,7 +110,7 @@
110 110  
111 111  {{/code}}
112 112  
113 -=== Simplified Exception Handling ===
113 +==== Simplified Exception Handling ====
114 114  
115 115  Scala doesn't force you to catch exceptions unlike in Java.
116 116  In addition, the syntax employs Scala's very powerful pattern matching to handle different exceptions.