Re: routine keyword
- Posted by ne1uno Jul 10, 2016
- 1621 views
Can someone remind me what the "routine" reserved keyword is for?
I can't find anything in the manual, apart from the list of reserved words.
It's listed in keywords.e, reswords.e, and in parser.e as part of {"enum", "label", "break", "case", "fallthru", "routine"} under "if OE4 then".
Edit:
4. Comment by ne1uno Jun 08, 2012
routine is also a reserved word for possible future use.
in Ticket:770 "Built-n methods" vs "Built-in routines", I was just pointing out that "routine" was already a reserved word and may not be a good substitute for "method" that was used in various places in the docs.
the devs just like saying "routine", so not that easy to search for details. I think routine may have been reserved for use similar to a function/procedure but inline or nested? one of the ideas that fell off or never got put on the roadmap?
it seems to have morphed into the inline optimization. saving the user from needing to specify which things can get inlined? but maybe lacking some of the advantages of a nested routine. InliningRoutines