News for hackers. Stuff that matters.
Re:Array Languages vs. the Curse of the Spreadsheet by azhenley on Tuesday March 05, 2024 @04:56PM (#39609624)
It is a proper programming language.

For #1, there has been research on linting and automated semantic error or smell detection in Excel (e.g., https://github.com/ExceLint/ExceLint). Some features are live in Excel today!

For #2, Excel now supports Python.

I don't think you need to do any conversions, all of the necessary information exists in the spreadsheet.

Re:Array Languages vs. the Curse of the Spreadsheet by paulddraper on Tuesday March 05, 2024 @04:58PM (#39609636)
> It is a proper programming language.

How do you define a reusable function?

---

(I know the answer....it's a proper programming language.)

Re:Array Languages vs. the Curse of the Spreadsheet by pc77 on Tuesday March 05, 2024 @07:30PM (#39610836)
Re:Array Languages vs. the Curse of the Spreadsheet by azhenley on Tuesday March 05, 2024 @04:59PM (#39609642)
Re:Array Languages vs. the Curse of the Spreadsheet by skissane on Tuesday March 05, 2024 @05:02PM (#39609674)
Lambda support in Excel is quite new though, isn’t it? If the argument is “Excel is a proper programming language because it now supports lambdas”, that implies that for most of its existence it hasn’t been one
Re:Array Languages vs. the Curse of the Spreadsheet by wizzwizz4 on Tuesday March 05, 2024 @05:06PM (#39609727)
We've had VLOOKUP for a while.
Re:Array Languages vs. the Curse of the Spreadsheet by paulddraper on Tuesday March 05, 2024 @05:15PM (#39609835)
That's a dictionary, not a general function.
Re:Array Languages vs. the Curse of the Spreadsheet by baq on Wednesday March 06, 2024 @07:16AM (#39615095)
it works well enough in discrete domains... it's literally the definition of a function - map something to something else.
Re:Array Languages vs. the Curse of the Spreadsheet by paulddraper on Wednesday March 06, 2024 @01:40PM (#39619407)
Yes, a function is an injection [1].

Abstractly.

Listing all possible inputs with their outputs, and then doing a lookup....that's only sometimes useful.

[1] https://en.wikipedia.org/wiki/Injective_function

Re:Array Languages vs. the Curse of the Spreadsheet by paulddraper on Tuesday March 05, 2024 @05:14PM (#39609816)
If we are talking Excel 365 after Feb 2022, then yes.

If we're talking Excel 2021, Excel 2019, etc. then no.

Re:Array Languages vs. the Curse of the Spreadsheet by blowski on Tuesday March 05, 2024 @05:26PM (#39609951)
So Excel supports reusable Lambdas then? In the same way that many tools introduce new features and users need to upgrade versions to get them.
Re:Array Languages vs. the Curse of the Spreadsheet by paulddraper on Tuesday March 05, 2024 @06:07PM (#39610261)
Yep, Excel 365 Version 2201+ support reusable lambdas.
Re:Array Languages vs. the Curse of the Spreadsheet by sam2426679 on Tuesday March 05, 2024 @05:21PM (#39609904)
VBA