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

CL already has strong types, it's static typing that it lacks. Though some compilers do make use of the information present to varying degrees, they'll emit warnings typically, not errors, for things like

  (+ 1 "hello") ;; SBCL should emit a warning, but will let this run and you'll get a runtime type error
If it was not strongly typed then you'd be able to do the silly things you can do in JS and Perl like:

  (+ 1 "1") => "2" ;; hypothetical, doesn't happen in CL


Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: