Logo

Programming-Idioms

  • C++
  • Lisp
(defun square (x)
  (* x x))
int square(int x){
  return x*x;
}
function Square (X : Integer) return Integer is
begin
   return X * X;
end Square;

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