Category:Typing/Compatibility/Nominative: Difference between revisions

From Rosetta Code
Content added Content deleted
(Added some explanatory text)
(more refinement)
 
Line 1: Line 1:
{{feature|Typing/Compatibility}}
{{feature|Typing/Compatibility}}
In this typing scheme, a type has a name and two “type instances” with the same structure but different names are different types.
In this typing scheme, a type has a name and two “type instances” with the same structure but different names are different types.
This is more restrictive than [[:Category:Typing/Compatibility/Structural|structural typing]], in that it can distinguish types that are structurally identical.

Latest revision as of 16:38, 29 August 2009

Typing/Compatibility/Nominative is a programming language feature.

In this typing scheme, a type has a name and two “type instances” with the same structure but different names are different types. This is more restrictive than structural typing, in that it can distinguish types that are structurally identical.

Subcategories

This category has the following 51 subcategories, out of 51 total.

A

C

D

E

  • EC(3 C, 7 P)
  • Eiffel(3 C, 158 P)

F

G

  • Genie(1 C, 34 P)
  • Go(4 C, 1,548 P)
  • Groovy(3 C, 502 P)

H

I

J

  • Java(3 C, 1,340 P)

K

L

M

N

O

P

R

S

T

U

V

X

Y

  • Ya(1 P)

Z

  • Zig(1 C, 140 P)