in reply to Re^6: How do I go from procedural to object oriented programming?
in thread How do I go from procedural to object oriented programming?
A function in the mathematical sense is something a little different than a function in the programming sense.
No, it depends on the context:
Under the imperative programming paradigm, "function" can refer to anything: subroutines with and without return values; deterministic and non-deterministic; and with and without side effects.
Under the functional programming paradigm, "function" nowadays usually has the mathematical meaning... well, at least in hardcore functional-programming circles (i.e. between Haskell programmers).
The differentiation between function and procedure a-la Pascal is, frankly, uninteresting and mostly useless.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: How do I go from procedural to object oriented programming?
by Jenda (Abbot) on Apr 21, 2015 at 14:43 UTC | |
by einhverfr (Friar) on Apr 21, 2015 at 15:10 UTC | |
by salva (Canon) on Apr 21, 2015 at 15:40 UTC |