News for hackers. Stuff that matters.
Re:The C++ bashing season is back by mahmud on Sunday October 18, 2009 @12:11AM (#887945)
A "language" that has fibonacci builtin can do it 2 characters. fx. where f is the name of the fibonacci function and x is a single digit number.

A fibonacci DSL could do it in 1; if all input is expected to be an integral value and the machine only computes fibonacci values, then typing a single digit number would have the intended consequence:

   (loop
     (print (fib (parse-integer (read)))))

There are no comments on this comment yet.