Question: In the functional paradigm, a pure function has what two features? Has no side - effects Keeps solid track of program state and is reliable

In the functional paradigm, a pure function has what two features?
Has no side-effects
Keeps solid track of program state and is reliable
Exists only to be overridden in child classes
Given the same input, you always get the same output
Is completely encapsutated all inputs, outputs and calculations happen inside it.
In the functional paradigm, a pure function has

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!