3 ms·
Usually when one starts to learn to program already have learned some math. So knows only this notation for funcions: square(x) = x*x "Return" seems meaningles
by szemet 10y ago
Usually when one starts to learn to program already have learned some math. So knows only this notation for funcions: square(x) = x*x
"Return" seems meaningless.
So that is the "real world" function declaration (if this phrase makes any sense for a math notation convention) for a nonprogrammer.
Is that what you mean? Because then I agree...