Hello. There is two points of view here.
1. Using Python for math, and in this case, the less technic of programmation is used and the best it is. This is more true with young students. Sage is a great tool for that ! I definitely love it ! 2. Using Python for starting programmation and in this case, do not speak of importation will be an error. In my work, for the moment I have student doing math and not programmation. *Christophe BAL* *Enseignant de mathématiques en Lycée **et développeur Python amateur* *---* *French math teacher in a "Lycée" **and amateur developer in Python* 2014-11-28 0:26 GMT+01:00 William Stein <[email protected]>: > On Thu, Nov 27, 2014 at 3:12 PM, Simon King <[email protected]> > wrote: > > Hi Christophe, > > > > On 2014-11-27, Christophe Bal <[email protected]> wrote: > >> Indeed, my question is related to pedagogical reasons. Even if my code > is > >> simple, it uses the import machinery that I would like to not use. > > > > Why not? Isn't it a good thing to teach students that polluting the > > global name space is bad and thus that the stuff one needs should > > first be imported? > > I disagree. A basic design choice in Sage -- since day 1 -- is not > to make such a judgement. > Sage is meant to be an easy to use system designed for mathematics, > which happens to use Python > as a language, instead of me creating a new language from scratch. > > Of course we have to take with what is introduced in the global > namespace. But that you can start > Sage and type > > sage: sin(pi) > > is not only *good*, but critical. Requiring all users to do a few > imports before the above would be bad. > > -- William > > > > > Best regards, > > Simon > > > > -- > > You received this message because you are subscribed to the Google > Groups "sage-support" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected]. > > To post to this group, send email to [email protected]. > > Visit this group at http://groups.google.com/group/sage-support. > > For more options, visit https://groups.google.com/d/optout. > > > > -- > William Stein > Professor of Mathematics > University of Washington > http://wstein.org > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/sage-support. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.
