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

14

u/itsmeornotme May 08 '18

Well my guess is that they chose the language by popularity. And there are a lot more people who know JS than Python.

I personally would have gone with C#.

1

u/0987654231 May 08 '18

JavaScript doesn't need to be compiled, c# does. That's a pretty big factor

6

u/sephirostoy May 08 '18

You can use C# as scripting language too by embedding Roslyn. It makes no difference for the one who write the script.

5

u/0987654231 May 08 '18

Yes, you can turn a compiled language into a scripting language by embedding the compiler and compiling code at runtime.

The c# code is still compiled...

→ More replies (4)