r/programming • • May 08 '18

Excel adds JavaScript support

https://dev.office.com/blogs/azure-machine-learning-javascript-custom-functions-and-power-bi-custom-visuals-further-expand-developers-capabilities-with-excel
2.4k Upvotes

585 comments sorted by

View all comments

Show parent comments

11

u/Marquis_Andras May 08 '18

It's the most flexible. Many other languages compile to JS. e.g. Haskell, Kotlin, C.

5

u/Somepotato May 08 '18

something something luajit, esp. relevant given Lua was created to be an easy language for designers and engineers who didn't understand programming, to pick up

5

u/tripl3dogdare May 08 '18

If there's such a thing as a lingua franca in modern programming, it's JavaScript. It only makes sense to go with the language that more people know and understand, and personally I'd take JavaScript over Lua any day even without the popularity factor, because Lua has even more half-crazed, barely-fathomable design decisions behind it than JavaScript does. In the end, all else being equal, it wouldn't make sense to pick a language that's easy to learn over a language that nearly everyone knows already.

5

u/Somepotato May 08 '18

well, false != 0 in Lua, Lua has operator overloads, it's not a detriment to speed to swap metatables (prototypes in JS), etc, so I mean I'd say JS has more grodey quirks than Lua, not to mention speed, and not even to mention that the primary users of Excel will more than likely NOT be previous programmers

not to mention the sheer speed of luajit would be very important in something like Excel.

→ More replies (2)