top | item 45789557 (no title) dman | 4 months ago Laughs in lisp discuss order hn newest Sharlin|4 months ago I've written Clojure professionally. It's exactly the language I had in mind when I said that it takes a week to get accustomed to. I find it a very clean and elegant language. Shame that it's dynamically typed. tmtvl|4 months ago Check out Common Lisp, it's gradually typed, so if you want you can just write your code like this: (defun fib (n) (declare (type (Integer 0 100) n)) (the (Integer 0 *) (if (< n 2) n (+ (fib (- n 1)) (fib (- n 2).)
Sharlin|4 months ago I've written Clojure professionally. It's exactly the language I had in mind when I said that it takes a week to get accustomed to. I find it a very clean and elegant language. Shame that it's dynamically typed. tmtvl|4 months ago Check out Common Lisp, it's gradually typed, so if you want you can just write your code like this: (defun fib (n) (declare (type (Integer 0 100) n)) (the (Integer 0 *) (if (< n 2) n (+ (fib (- n 1)) (fib (- n 2).)
tmtvl|4 months ago Check out Common Lisp, it's gradually typed, so if you want you can just write your code like this: (defun fib (n) (declare (type (Integer 0 100) n)) (the (Integer 0 *) (if (< n 2) n (+ (fib (- n 1)) (fib (- n 2).)
Sharlin|4 months ago
tmtvl|4 months ago