wk 5 discussion functional programming due thurs wk 5 functional programming due mon
Wk 5 Discussion – Functional Programming [due Thurs]
Post a total of 3 substantive responses over 2 separate days for full participation. This includes your initial post and 2 replies to other students.
Respond to the following in a minimum of 175 words:
Research the following:
- The definition of def
- The purpose of â€œdef someFunction(x,y):â€ within a program
Discuss the following questions:
- What are the main benefits of functional programming?
- Why do functions play a useful role in creating programs?
Provide examples of why you would use a function in a program and how a function might be applied within a program.
Provide an example to reinforce your arguments.
Reply to at least 2 of your classmates. Be constructive and professional in your responses.