Hallo, Matt Barber hat gesagt: // Matt Barber wrote:
Cons first:
- No matter what, the argument will be somewhat opaque, and some
people (myself included) would probably have a hard time easily remembering what the arguments mean, which ones are available, and why.
Actually this could be an argument for using only a single object that accepts arguments: All of the args could be documented in a single help file, which is fast to open, and the only thing to remember would be one object name.
- We haven't proven that an exhaustive set is even desirable.
Good question. ;)
- This would force the user to apply an array name if they wanted to
set the interpolation. Same with the class method "set." Also, having a numeral or a symbol to call the interpolation (3 vs. 3d) might make things tough to implement -- this could be changed.
An alternative might be "keyword arguments" as used in [declare -lib x -path y] which is the same as [declare -path y -lib x] regardless of order.
Frank Barknecht _ ______footils.org__