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
[ Parent
| on HN ]
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.