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="ff9171a981da3e45-f16dee13-46b840d6-b5f695a0-a71c596c8d65f8d314d84c10"><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="bd46e3676facfad4-91df1111-4a944b98-860db782-99bfb57e0420d1a11115a6d7"><ac:plain-text-body><![CDATA[

setter

[object setName:aName]

object.setName(aName)

object.name = aName

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

...