Earlier quoted context omitted.
I'm thinking of all the places where I've seen Excel used in operations. Often it's the only software the company uses. Now we're going to get people who've done a little javascript in college using it to elaborate the Spreadsheet That Runs Our Business. In all likelihood, the resulting chimera will make an impenetrable tangle of VBA and Javascript.
So, when are you developers going to build an End-User Development platform with decent engineering practices, to replace Excel for business users?
Excel Adds JavaScript and Power BI Support
51–60 of 108 posts
Re: Excel Adds JavaScript and Power BI Support
#52But no Python support as they promised. So sad.
One issue with embedding Python is that it's difficult to sandbox - to securely limit what the embedded runtime, and hence (potentially malicious) custom functions, can do: > [The Python developers'] standard answer to "How do I sandbox Python code?" has been "Use a subprocess and the OS provided process sandboxing facilities" for quite some time. [1] JavaScript, OTOH, is designed to support secure in-process sandbox…
Re: Excel Adds JavaScript and Power BI Support
#53But no Python support as they promised. So sad.
One issue with embedding Python is that it's difficult to sandbox - to securely limit what the embedded runtime, and hence (potentially malicious) custom functions, can do: > [The Python developers'] standard answer to "How do I sandbox Python code?" has been "Use a subprocess and the OS provided process sandboxing facilities" for quite some time. [1] JavaScript, OTOH, is designed to support secure in-process sandbox…
Re: Excel Adds JavaScript and Power BI Support
#54Re: Excel Adds JavaScript and Power BI Support
#55Re: Excel Adds JavaScript and Power BI Support
#56A bit surprised that there's no TypeScript support, especially considering how verbose metadata you have to write as a result[1]. That whole thing could be made much simpler with some TS and JSDoc, eg. /** * adds 42 to the input number * @param a the first number to be added * @param b the second number to be added */ function ADD42(a: number, b: number): number { return a + b + 42; } [1] https://docs.microsoft.com/e…
Re: Excel Adds JavaScript and Power BI Support
#57But no Python support as they promised. So sad.
One issue with embedding Python is that it's difficult to sandbox - to securely limit what the embedded runtime, and hence (potentially malicious) custom functions, can do: > [The Python developers'] standard answer to "How do I sandbox Python code?" has been "Use a subprocess and the OS provided process sandboxing facilities" for quite some time. [1] JavaScript, OTOH, is designed to support secure in-process sandbox…
Re: Excel Adds JavaScript and Power BI Support
#58Earlier quoted context omitted.
I'm thinking of all the places where I've seen Excel used in operations. Often it's the only software the company uses. Now we're going to get people who've done a little javascript in college using it to elaborate the Spreadsheet That Runs Our Business. In all likelihood, the resulting chimera will make an impenetrable tangle of VBA and Javascript.
God forbid someone will figure out how to plug NPM into Excel-JS, and the bloat from the web will get ported into business spreadsheets as well. (I guess that's one way to drive new hardware sales, though.)
https://docs.microsoft.com/en-us/office/dev/add-ins/tutorial...
Step 1 in the official Excel Add-Ins tutorial includes installing Node and npm.
Re: Excel Adds JavaScript and Power BI Support
#59A bit surprised that there's no TypeScript support, especially considering how verbose metadata you have to write as a result[1]. That whole thing could be made much simpler with some TS and JSDoc, eg. /** * adds 42 to the input number * @param a the first number to be added * @param b the second number to be added */ function ADD42(a: number, b: number): number { return a + b + 42; } [1] https://docs.microsoft.com/e…
Any reason you can’t just use TS and compile to JS?
Re: Excel Adds JavaScript and Power BI Support
#60A bit surprised that there's no TypeScript support, especially considering how verbose metadata you have to write as a result[1]. That whole thing could be made much simpler with some TS and JSDoc, eg. /** * adds 42 to the input number * @param a the first number to be added * @param b the second number to be added */ function ADD42(a: number, b: number): number { return a + b + 42; } [1] https://docs.microsoft.com/e…
Any reason you can’t just use TS and compile to JS?
In theory, you could embed all of the metadata in JSDoc + TS annotations.