Saved Bookmarks
| 1. |
In Fp, What Is The Difference Between A Function And A Procedure? |
|
Answer» Both are USED to PERFORM computation, however they have one major DIFFERENCE in Functional Programming world. A function is a computation unit without side-effect where as a Procedure is ALSO a computation unit with side-effects. Both are used to perform computation, however they have one major difference in Functional Programming world. A function is a computation unit without side-effect where as a Procedure is also a computation unit with side-effects. |
|