4 ms·
Why It's Time To Get Good At Functional Programming
- Retric 18y agoI have written a lot of XSL code which seems to be a pure functional language. (Can't change values once assigned, but you can do math an call functions etc.) I wonder how many other domain specific languages are functional?
- cx01 18y agoI think Microsoft Excel would be the most common example.
- eru 18y agoIf you do not use Macros. And spreadsheets are a cumbersome form of computation.
- jefffoster 18y agoOn the contrary, spreadsheets are a cool model of computation. They're live - you can update the value of any variable (cell) and all the other references update automatically. It's a dataflow model. See, for example, the Cells project at http://common-lisp.net/project/cells/ http://common-lisp.net/project/cells/
- eru 18y agoCool and cumbersome do not contradict each other.
- eru 18y agoDoes make referential transparency a functional language?
- ricky_clarkson 18y agoYes.
- eru 18y agoI disagree. Functions as first class values are more important.