Comparison of Programming Languages

From Unify Community Wiki
(Difference between revisions)
Jump to: navigation, search
(flipped the table (columns are rows and vice versa))
(Comparison: added type system info to table)
Line 10: Line 10:
 
! [http://en.wikipedia.org/wiki/Boo_(programming_language) Boo]
 
! [http://en.wikipedia.org/wiki/Boo_(programming_language) Boo]
 
! [http://en.wikipedia.org/wiki/C_Sharp_(programming_language) C#]
 
! [http://en.wikipedia.org/wiki/C_Sharp_(programming_language) C#]
! [http://en.wikipedia.org/wiki/JavaScript JavaScript]
+
! UnityScript/[http://en.wikipedia.org/wiki/JavaScript JavaScript]
 
|-
 
|-
 
! [http://en.wikipedia.org/wiki/Programming_paradigm Paradigm](s)
 
! [http://en.wikipedia.org/wiki/Programming_paradigm Paradigm](s)
Line 32: Line 32:
 
| {{yes}}, ECMA, ISO ECMA-334; ISO/IEC 23270:2006
 
| {{yes}}, ECMA, ISO ECMA-334; ISO/IEC 23270:2006
 
| {{no}}
 
| {{no}}
 +
|-
 +
! [http://en.wikipedia.org/wiki/Strongly-typed_programming_language Type Strength]
 +
| strong
 +
| strong
 +
| weak
 +
|-
 +
! [http://en.wikipedia.org/wiki/Type_safety Type Safety]
 +
| safe
 +
| safe
 +
|
 +
|-
 +
! [http://en.wikipedia.org/wiki/Type_system#Explicit_or_implicit_declaration_and_inference Expression of Types]
 +
| implicit with optional explicit typing
 +
| explicit
 +
| implicit
 +
|-
 +
! [http://en.wikipedia.org/wiki/Type_system#Compatibility:_equivalence_and_subtyping Compatibility Among Composite Types]
 +
|
 +
| name-based
 +
|
 +
|-
 +
! [http://en.wikipedia.org/wiki/Type_system#Type_checking Type Checking]
 +
| static with optional dynamic typing
 +
| static with optional dynamic typing
 +
| dynamic with optional static typing
 
|}
 
|}
  

Revision as of 01:58, 3 August 2009

This is a comparison of the major features of the three high-level programming languages offered by Unity: JavaScript, C#, and Boo.

Comparison

The following tables compares technical information, type systems, and failsafes of the Unity programming language. See also the Comparison of Basic Instructions of Programming Languages for more detailed information

Language Boo C# UnityScript/JavaScript
Paradigm(s)
Standardized Variation? Yes Yes, ECMA, ISO ECMA-334; ISO/IEC 23270:2006 No
Type Strength strong strong weak
Type Safety safe safe
Expression of Types implicit with optional explicit typing explicit implicit
Compatibility Among Composite Types name-based
Type Checking static with optional dynamic typing static with optional dynamic typing dynamic with optional static typing



Programming Index

Personal tools
Namespaces

Variants
Actions
Navigation
Extras
Toolbox