We are currently talking about the long function form which are inherently non-functional since they involve a function body which is evaluated step by step. This is against the nature of a purely functional language. Thus, I cannot see how its intuitive from a functional side that the last statement within a function body evaluates to a return. A functional language has no statements that are successively executed.
Am Donnerstag, 26. Mai 2016 08:08:00 UTC+2 schrieb Didier Verna: > > "'Tobias Knopp' via julia-users" <julia...@googlegroups.com <javascript:>> > wrote: > > > No return statement is kind of an explicit indication that the > > function does not return anything. > > No it's not. It may be when you come from the procedural camp; it is > definitely not when you come from the functional camp. That's the > problem with multi-paradigm languages, especially those with a > heterogeneous user base. Nothing will ever be universally "intuitive" > or "natural". > > -- > Resistance is futile. You will be jazzimilated. > > Lisp, Jazz, Aïkido: http://www.didierverna.info >