I'm not sure for loop is required either, maybe because I haven't seen a single useful example of it used in gscript, that couldn't be rewritten with recursion with maybe a bit more effort. If anyone could provide such an example (preferably used in a real working commonly-used script), I would be grateful.
That said, if you feel like adding features to the language just to simplify a little more than zero scripts - sure, go ahead. It's not like it will make the language
worse. I don't have any particular opinion on which version is better, they are both fine.
Quote:
Originally Posted by Sapo84
and probably less efficient (not that it matters).
|
Efficiency should be pretty much identical because after building the filter graph it's all the same.