Versions Compared

Key

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

...

 

Objective-C

Java

Scala

Immutability

Partial - via 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="50ac78a038c7bd49-59a4d775-414f45d4-ae1991f6-fb1b41ffe741e94ffa0594e1"><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="d4c25a9c3dad319e-6b486eaf-4f264d37-ab00ac8c-231ee546b42429fda1e354ff"><ac:plain-text-body><![CDATA[

setter

[object setName:aName]

object.setName(aName)

object.name = aName

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

...