Explaining functional programming to object-oriented programmers and less technical people

后端 未结 12 1669
小蘑菇
小蘑菇 2021-01-30 23:09

What are some good examples that I can use to explain functional programming?

The audience would be people with little programming experience, or people who only have ob

12条回答
  •  别跟我提以往
    2021-01-30 23:54

    New answer. This will work for both non-programming power users and OO programmers.

    Point out that Excel is functional.

    Each cell in a spreadsheet is a variable that contains a function which declares a relationship between other cells/variables.

提交回复
热议问题