Methods vs. Functions vs. Routines

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Methods vs. Functions vs. Routines

ThSITC
As far as *human common sense* (at least, Programmers common sense) is
involved, some Definitions,
Below:

A *Function* is a STATIC Method RETURNING a Value (defined: Once,
forever, please!)
A *Routine* is a STATIC Method Returning *NO Value* (defined: Once,
forever, please!)

Hence, human as I am (and we all are ...):

Why shall I (or you, as well) program in NetRexx:

method abc(...) STATIC returns xyz

*instead of*

function abc(...) returns xyz

*or*

Method def(...) STATIC

instead of :

routine def(...)

Simply to introduce even Ümore confusion*, or what ??

Please do re-think!

2 keywords more in the language would reduce Confusion, of NetRexx
newcomers, I'm 1000 % sure (and % *does NOT mean* Integer Division,
but does mean: PERCENT, in Human beeings brain, as far as I do know,
at least! ...

... Look at your calculator (when available) ...

So, Finally, Human Design, *or what*, at all?

End of second interrupt, I'm really NOT SO SORRY!

When claiming a language to be *human*, it has to follow common Human
Thinking, IMHO, once, forever!
========================================================

--
Thomas Schneider CEO ThSITC IT Consulting KG Erdbergstr. 52-60/1/13 1030
Wien http://www.thsitc.com Austria, Europe Skype ID:
Thomas.Schneider.Wien Member of the Rexx Languge Asscociation
(www.rexxla.org) Member of the NetRexx Developer's Team (www.netrexx.org)

_______________________________________________
Ibm-netrexx mailing list
[hidden email]
Online Archive : http://ibm-netrexx.215625.n3.nabble.com/

Thomas Schneider, Vienna, Austria (Europe) :-)

www.thsitc.com
www.db-123.com