Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Obj-c
int square(int x) {
  return x*x;
}

Precisely same as plain C
function Square (X : Integer) return Integer is
begin
   return X * X;
end Square;

New implementation...
< >
programming-idioms.org