|
From: | Urs Liska |
Subject: | Re: Having trouble understanding optional and variable amount of arguments |
Date: | Fri, 9 Mar 2018 08:18:09 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
Am 08.03.2018 um 23:46 schrieb Stefano
Troncaro:
I'll think about it later today, just a few short comments for now:
Very good point.
I'm not sure this is relevant. You don't need to put them around untyped options but you have to add another layer around everything. What I liked about my implementation (as opposed to the first ideas) was that it's flat, a simple list of lists. But probably I'll consider this as weighing less than 1)
I don't have a strong opinion on that on first sight.
What you're proposing is focused on the POV of the *caller* of the function (i.e. the document author), while my approach was focused on what the *code* needs to be present. As said I'll have to think more closely about it later today, but you may have a good point here too.
You may of course open a pull request. Maybe we'll discuss details but I have no objections so far. Best Urs |
[Prev in Thread] | Current Thread | [Next in Thread] |