Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

Objective-C

Java

Scala

Parametered methods

Yes e.g: addObject: to:

No

Yes e.g: add(object= ,to=)

Class composition

Yes - via Categories

Yes - via Interfaces

Yes - via Traits

Why Use Scala?

For WebObjects developers, Scala offers itself as a powerful, safe and easy-to-use solution for concurrent computing. (In other words, Scala Actors can be used for problems that would have normally required threads).

...

 

Objective-C

Java

Scala

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b659abd3aa47a008-bbe11099-4f994c43-812b8221-90cc9bfc5410973ffd4859d4"><ac:plain-text-body><![CDATA[

getter

[object name]

object.name()

object.name

]]></ac:plain-text-body></ac:structured-macro>

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="11fc7f22b0a29a67-42480bb3-43f74d16-8918a7f6-5a8a9c0e4e320d696ad0d4d2"><ac:plain-text-body><![CDATA[

setter

[object setName:aName]

object.setName(aName)

object.name = aName

]]></ac:plain-text-body></ac:structured-macro>

...