Versions Compared

Key

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

...

 

Objective-C

Java

Scala

Immutability

Partial - via Collections collections e.g: NSArray/NSMutableArray

No

Yes

Closures

Yes - via Blocks (Extension)

No

Yes - via Anonymous Functions

Static variables

Yes

Yes

No

Static methods or functions

Yes

Yes

No

Concurrency

Yes - via Grand Central Dispatch (Extension)

Yes - via Threads

Yes - via Actors

 

Weakly Typed

Strongly Typed

Strongly Typed

...

 

Objective-C

Java

Scala

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a1573c49584487a0-abc82a39-41d04e56-8bd2b7c9-a117952c8d15190cdf2ee98f"><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="9bb79e3d6db9f0c1-74310c14-4aae474b-a1e18dc9-662d77045dfd287aadaa648c"><ac:plain-text-body><![CDATA[

setter

[object setName:aName]

object.setName(aName)

object.name = aName

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

...