Talk:Optional parameters

From Rosetta Code

Table?

So the input table in your example is:

  "a"    "b"    "c"
  ""     "q"    "z"
  "zap"  "zip"  "Zot"

And sorting is of rows and by column. Actually, now I have written it out - it makes sense. --Paddy3118 06:58, 24 May 2009 (UTC)

Isn't too much if the aim is to show optional parameters?

I mean, if the aim if to show how languages allow (if allow) (named) optional parameters, then isn't the task too much complex? Even without implementing the sort if not built-in, wouldn't it be simpler just to ask for sorting of an array with the optional parameter ordering and reverse? It would show anyway the "optional parameter" part without the fuss of coping with multidimensional arrays? --ShinTakezou 09:10, 24 May 2009 (UTC)