I've finished reading
Javascript The Good Parts. Yesterday a co-worker said to me that I could learn some
functional language, He recommend to me
Clojure son I've just started with
Programming Clojure and this is my first little program:
(defn average [numbers]
(/
(apply + numbers)
(count numbers)
)
)
(println
(average [1 2 3 4 5])
)
When I was writing this little piece of code, I've remember when I was at university and I studied Lisp in IA signature.
No hay comentarios:
Publicar un comentario