Lurker News
Folks, Microsoft is officially considering providing Python support in Excel (finally). If you are interested in this, please visit their uservoice page and let them know what you think. Thank you!

https://excel.uservoice.com/forums/304921-excel-for-windows-desktop-application/suggestions/10549005-python-as-an-excel-scripting-language

Comments (268) 74 threads

Show all comments

Showing thread 24 of 74

euske1 reply#
It would be great for a scripting language, but for field functions I would have preferred something that's more akin to FRP-oriented language (e.g. Scheme).
euske1 reply#
Excel is reactive already, but its field functions can't have variable bindings or procedural operation as far as I know (unless, of course, you write your own separate VBA function). I sometimes want to write in a complex one-liner and thought lisp/scheme would be a great choice.
vanderZwan#
Ah, fair enough. I mean, I'm not debating the power of Lisp, and it would be great first languages for someone not trained in programming. OTOH, there is of course the trade-off to make it as useful for as broad a selection of users as possible; Python has a lot more mind-share, and the SciPy ecosystem would be a great complement.

If Excel adds some practical convenience functions to the global namespace, would it be that hard to make Python fit the reactive paradigm in this context?
About those variables: maybe the Bumblebee tool she and her team made[0][1][2] would work for you

    Our language is an extension of regular Excel formulas,
	 so you can write a transformation like

    A1+A2 <-> SUM(A1:A2)

    which allows BumbleBee to transform exactly the formula
	 A1+A2 to SUM(A1:A2) or vice versa.

	 In addition to using exact cell references, you may also
	 use variables instead of cell references:

    {i,j} + {i,j+1} <-> SUM({i,j}:{i,j+1})
I hope it can be useful to you! :)

In the video I linked before she mentions it at 31m33s. Oh and here[3] are the slides for that video, in case you prefer those.
(Disclaimer: I don't use Excel myself; I'm just a programmer who wants to get more people into programming, so I was both happy and impressed when I saw her presentation on how people not trained as programmers use it to do really complex tasks)
[0] http://www.felienne.com/BumbleBee
[1] http://www.felienne.com/archives/2964
[2] https://figshare.com/articles/BumbleBee_A_Transformation_Env... Paper on BumbleBee
[3] http://gotocon.com/dl/goto-amsterdam-2016/slides/FelienneHer...