Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> No types barking

No thanks



The reason I switched from Scheme to Common Lisp was because I could say...

  (defun foo (x)
    (declare (type (Integer 0 100) x))
    (* x
       (get-some-value-from-somewhere-else)))
And then do a (describe 'foo) in the REPL to get Lisp to tell me that it wants an integer from 0 to 100.


Common Lisp supports gradual typing and will (from my experience) do a much better job of analyzing code and pointing out errors than your typical scripting language.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: