News for hackers. Stuff that matters.
Re:Goodbye, Object Oriented Programming by eru on Monday July 25, 2016 @01:34AM (#12156681)
The majority of software written ever has been written in the world's most popular functional programming language: Excel.
Re:Goodbye, Object Oriented Programming by discreteevent on Monday July 25, 2016 @03:23AM (#12157041)
Yes but the majority of excel sheets consist of calculations. The source code of many OO programs will also consist of pure functions if that program is focused on calculation. So calculations are easy to express as pure functions, everybody knows that.

On the other hand, if you want to make an interactive application in excel you use VBA which exposes a large and rich set of objects.

Re:Goodbye, Object Oriented Programming by eru on Monday July 25, 2016 @07:37AM (#12157929)
Yes, VBA is a break away from the nice purely functional world of spreadsheets.

Simon Peyton Jones once did some work on giving Excel more programmatic power without having to go to VBA.

http://research.microsoft.com/en-us/um/people/simonpj/Papers...

Re:Goodbye, Object Oriented Programming by discreteevent on Monday July 25, 2016 @11:59AM (#12159526)
The paper deals with more examples of calculations: convert fahrenheit to celcius, calculate volume. It does not cover interactive applications. I hope you are not redefining the problem to fit the solution which can be a weakness of pure mathematicians and functional programmers (and negative though it is I have to add: Its a waste of everybody's time. It would be much better if people were direct about what their solution addresses instead of leaving it vaguely defined in the hope that people will think it is of practical use for more than it actually is)
Re:Goodbye, Object Oriented Programming by eru on Tuesday July 26, 2016 @02:07AM (#12163643)
Yes, Excel is limited. Yet, people manage to solve lots of business relevant problems within its constraints.

Excel is very interactive: you can change input and immediately get a different output. (I think you were trying to talk about a different restriction. Excel is very limited in the kinds of inputs and outputs you can make, and even more so in the kind of side-effects you can cause.)

Re:Goodbye, Object Oriented Programming by Ntrails on Monday July 25, 2016 @06:42AM (#12157728)
>On the other hand, if you want to make an interactive application in excel you use VBA which exposes a large and rich set of objects.

Please don't encourage this. Because honestly debugging VBA written by consultants has definitely shortened by lifespan by a couple years

Re:Goodbye, Object Oriented Programming by smsm42 on Monday July 25, 2016 @04:10AM (#12157178)
99.99% of what people do with Excel does not qualify as "software", unless you classify "A1+C3" as "software", in which case calling it "functional" becomes meaningless.
Re:Goodbye, Object Oriented Programming by eru on Saturday July 30, 2016 @03:50AM (#12192063)
In that sense Excel is comparable to Bash.
Re:Goodbye, Object Oriented Programming by norea-armozel on Monday July 25, 2016 @10:13AM (#12158782)
Oh God, if you saw the Excel workbook my previous boss created as the back end for the financial calculations used in all our applications you'd scream in horror. Like just about every contingency in the process was done within the excel workbook and not just as a wrapper around some simplified formulas.