#header-inner {background-position: right !important; width: 100% !important;}

1/31/15

Tuple Data Type & Syntax.

i think it's convenient to use tuples as a Data Type, a feature that i've spotted in
'The Go Programming Language'.

i think that Ola AH Programming Language should have that or similar syntactic construct:

int a;
int b;

(a, b) := (b, a);

functions should pass a tuple as their argument as well, as in following or similar syntactic construct:

(int r1, int r2) f(int a, int b, string s) {
  // some code.
  return (result1, result2);
};

See also, if You wish: 'Ola AH' Programming Language, Tuple, Set, Entity, Object, State.

No comments:

Post a Comment