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

There is a useful and practical small diamond hidden in the big ball of mud.


Yeah, it's called Lisp.


For those who are downvoting me: Javascript was deliberately invented to be Scheme without the Lisp syntax... Jesus.


Javascript would be amazing with s-expressions and hygienic macros. One of the biggest missed opportunities in our field.


Via the Self programming language. That’s where prototypes come from. Self messages were closures, so JS functions are first class. Smalltalk was considered to be in the spirit of Lisp, and Self replaced classes with prototypes. That or Brendan Eich was mixing several features from expressive languages.




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

Search: