4 ms·
>Stuff like lambdas weren’t born in some hipster language, they came from JavaScript. Lambdas predate JavaScript by decades. Basically according to your reason
by forgotpwd16 8y ago
>Stuff like lambdas weren’t born in some hipster language, they came from JavaScript.
Lambdas predate JavaScript by decades. Basically according to your reasoning JS shouldn't exist. It was created by Netscape to compete in the web browser market with Microsoft script language the moment you had Python, Ruby, Pike etc. There were no afaik novel concepts to be found in JS.
- eksemplar 8y agoBefore JavaScript embraces lambdas, everyone thought they were a bad idea. You could say something similar about jit. I know JS gets a lot of hate on hn, but if you look at the history of a lot of modern pl paradigms, many of them got traction after years of ridicule because JavaScript brought them to the masses.
- pjmlp 8y agoEveryone that never put their foot into a CS degree. Even Clipper had support for closures.
- toyg 8y agoPython had lambda in 1994. JS didn’t even exist then. Face it - people use JS because the browser happened, not because it’s original in any meaningful way.
- eksemplar 8y agoJS didn’t invent lambdas, it made them popular. Or is it just a coincidence that every major language that didn’t have them, adopted them after they got real use in JS?