On Friday, June 19, 2015 at 5:29:42 PM UTC-7, David Roe wrote: > > Another option might be to force certain construction paths to use keyword > arguments. For example, > matrix(4,4,scalar = x+y) > matrix(4,4,iterator = x+y) > David > Indeed, but then: how is this more convenient than the following?
matrix_scalar(4,4,x+y) matrix_iterator(4,4,x+y) A clear advantage of these forms is that no logic for parsing keyword arguments is required: determining which code branch to use is already done by looking up the function name. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.