Changes between Initial Version and Version 1 of Ticket #15310, comment 44


Ignore:
Timestamp:
05/01/14 13:29:04 (6 years ago)
Author:
brett
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15310, comment 44

    initial v1  
    1 What if boht functions could be called in two ways:
     1What if both functions could be called in two ways:
    22
    3 1) with just parameters, in which case the program checks if the relevant TD/OAs exist and uses them
     31) with just parameters (like Wilson is now) , in which case the program checks if the relevant TD/OAs exist and uses them
    44
    5 2) with the relevant TD/OAs passed to the routine, in which case the program checks that they are correct and have the needed parameters and uses them if they are.
     52) with the relevant TD/OAs passed to the routine (as Product is now), in which case the program checks that they are correct and have the needed parameters and uses them if they are.
    66
    77Python and thus Sage, is good at this kind of flexibility in function calling and in design theory we often want to use specific "ingredients" with property $P$, in a construction and hope/prove that the resulting object had property $P$ as well.