←back to thread

296 points gyre007 | 6 comments | | HN request time: 0.625s | source | bottom
Show context
onion2k ◴[] No.21280617[source]
JavaScript isn't a functional language itself, but you can use a functional library like lodash/fp (https://github.com/lodash/lodash/wiki/FP-Guide) on top of it to get all that lovely functional goodness in your frontend and node code. Using lodash/fp has made my frontend state management code a lot nicer, and I'm really only just starting out with it.
replies(4): >>21280640 #>>21280696 #>>21280761 #>>21281273 #
Borkdude ◴[] No.21280640[source]
The video explains how JavaScript started out as a Scheme-dialect (Lisp) but for marketing reasons they chose a more Java-like syntax and adopted Java into the name.
replies(2): >>21280673 #>>21285383 #
1. galfarragem ◴[] No.21280673[source]
An historical mistake that humanity is paying (and will pay) for a long time.

Scheme 'cloths' was a viable option. Lisp remains the most popular scripting language among Autocad users despite Autodesk pushing other languages (.NET and JS). So popular that Autocad clones use it also as a scripting language[1].

Edited [1] https://www.zwsoft.com/zwcad/features#Dynamic-Block

replies(2): >>21280708 #>>21280945 #
2. daliusd ◴[] No.21280708[source]
I was working for bigest Autocad competitor for more than 10 years and never had to touch anything similar to lisp :)
replies(1): >>21281080 #
3. ben509 ◴[] No.21280945[source]
Was it a mistake, though? Languages have to be accessible to their audience, and Javascript caught on because of its relatively gentle learning curve.

If SchemeScript hadn't caught on, it might have been that VBScript took over the web.

replies(1): >>21281082 #
4. lisptw102019 ◴[] No.21281080[source]
If my guess is right, that's because your company's product had their own proprietary language (MDL).

But, that was OK too, because if my guess is right, your company's product also had FAR FAR FAR better COM bindings than Autocad did for 99% of what you'd want to automate.

5. hyperpallium ◴[] No.21281082[source]
Insufficiently C-like languages get ignored, according to: http://james-iry.blogspot.com/2009/05/brief-incomplete-and-m...
replies(1): >>21284657 #
6. doboyy ◴[] No.21284657{3}[source]
Language designers and enthusiats will forever be disappointed at how many social and human factors are at play, which coincidentally, is a large part of the motivation for programming languages