Thursday, November 12, 2009

oh not another one please

A new open source computer language. Go.

func Factorial(x int) int {
    if x == 0 {
        return 1;
    } else {
        return x * Factorial(x - 1);
    }
}

It's vaguely C-like please please please

No comments: