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.
Due Thursday
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.
Due Monday
Reply to at least 2 of your classmates. Be constructive and professional in your responses.