News for hackers. Stuff that matters.
Re:Functional programming is not popular because it is weird... by deepstack on Tuesday September 14, 2021 @03:43AM (#28521553)
> JavaScript became popular because of the browser

I would also say it is mainly due to Gmail and their G Maps extensive use of XMLHttpRequest, and Douglas Crockford insight on that JS has closure and function as first class citizen, it is just Scheme is C clothing. Check out his Little Javascripter. That and of course the intro of JSON.

Re:Functional programming is not popular because it is weird... by blacklion on Tuesday September 14, 2021 @08:26AM (#28523674)
> and Douglas Crockford insight on that JS has closure and function as first class citizen

«Insight» is like «RTFM»? :)

Re:Functional programming is not popular because it is weird... by goto11 on Wednesday September 15, 2021 @03:47AM (#28536401)
> and Douglas Crockford insight on that JS has closure and function as first class citizen

That is not an "insight". Anyone who had written an event handler in JavaScript would already know that.