> > > On Mar 26, 1:44 pm, kcrisman <[email protected]> wrote: > >> Incidentally, that is a good argument for always declaring your > >> functions as callable; it relieves one of this tedious var business. > >> I will make a mental note of it for intro material in Sage. > > > That would be a good idea if it was natural to ALWAYS define callable > > functions. > > > The problem is that when the first thing a student types into his/her > > notebook is > > > integrate(sin(x),x,2,44) > > > then an error will occur. > > That is why we make a single exception for the variable x. >
And I wasn't implying one should always define callable functions, I just meant it is an argument for doing so as often as possible when it is reasonable. I do not personally always like callable functions, but this is an argument for doing it fairly consistently if you're using variables other than x and you are actually defining functions, not expressions. That's it. - kcrisman --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
