Re:Pyret – A language exploring scripting and functional pro...
by sdx23 on Thursday December 15, 2016 @01:08PM
(#13186659)
In what world is:
... easier for a beginner to understand than:
[ Parent
| on HN ]
Re:Pyret – A language exploring scripting and functional pro...
by AstralStorm on Thursday December 15, 2016 @01:25PM
(#13186816)
Is square a function or object/data structure result of operation?
Welcome to the Real World. Please make different entities look different.
Re:Pyret – A language exploring scripting and functional pro...
by szemet on Thursday December 15, 2016 @05:30PM
(#13189212)
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...