Article View: comp.lang.python
Article #28Re: Python in "math through programming" curriculum
From: Kirby Urner
Date: Thu, 21 Dec 2000 02:29
Date: Thu, 21 Dec 2000 02:29
47 lines
3395 bytes
3395 bytes
neelk@alum.mit.edu (Neelakantan Krishnaswami) wrote: >Yes -- the reference to Knuth's _Concrete Mathematics_ made me think >that an introduction to CS was envisioned. For things like graphing >and statistics, there's no reason not to use Python, since it has good >graphing and statistical libraries. Static typechecking doesn't help >here, I don't think, and in Haskell's case it becomes a positive >nuisance (because of all the IO). Certainly don't want to close the door to CS at all, no way. Just trying to get computers used more in math class, instead of just calculators all the time. 'Concrete Mathematics' is mathematics too, not just CS (same with Knuth's 'Art of...' -- Miller-Rabin derives from number theory). Of course more computers in math class'd open more doors to CS. But I'm fighting the prejudice that you don't get to use the computer for serious tasks until you do some CS elective -- as if math were some whole other domain that shouldn't be sullied with computers (but calculators OK for some reason). One thing computers have over calculators is better spatial geometry displays. I graft Python to Povray, suggesting Povray might be more fully exploited in its own right (independently of Python) -- in art class for example. In the meantime, I encourage Polyhedra as paradigm Objects in both a geometric and in an OO sense.[1] Your remarks re strongly typed FP languages are interesting and I still want to learn more in that domain -- glad it's being discussed. I think Python opens doors to languages like Haskell, vs closes them, because it has some of the FP syntax, even if it's not built around lazy evaluation, tail recursion etc. etc. The map, lambda, zip, filter and other syntax has an FP flavor. So I think if students pick up on Python first, they're not thereby ruined for Haskell or ML later (or Java either, or any number of other worthy, useful languages). Anyway, thanks for your intelligent contributions -- learned some stuff. Kirby [1] http://www.inetarena.com/~pdx4d/ocn/trends2000.html
Technical Details
Message-ID:
<p4q24tsdp1387496c63reu0ehoo7pnkged@4ax.com>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.infoave.net!news-out.usenetserver.com!feed2.onemain.com!feed1.onemain.com!nntp2.onemain.com.POSTED!not-for-mailReferences:
<2g2t3t06r2agrrjmfnr41eu4lc2u39a8qi@4ax.com> <3A3EFF47.67DE69CF@gte.net> <91n9i30pr7@news2.newsguy.com> <slrn9402bt.fa6.neelk@alum.mit.edu> <91qa3r01m78@news2.newsguy.com> <slrn942nln.mjs.neelk@alum.mit.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025ed,6a046a4159e3af32 X-Google-Attributes: gid1025ed,public X-Google-Thread: 10dd18,6a046a4159e3af32 X-Google-Attributes: gid10dd18,public X-Google-ArrivalTime: 2000-12-20 18:40:45 PST Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.infoave.net!news-out.usenetserver.com!feed2.onemain.com!feed1.onemain.com!nntp2.onemain.com.POSTED!not-for-mail From: Kirby Urner <urner@alumni.princeton.edu> Newsgroups: comp.lang.python,bit.listserv.geodesic Subject: Re: Python in "math through programming" curriculum Reply-To: urner@alumni.princeton.edu Message-ID: <p4q24tsdp1387496c63reu0ehoo7pnkged@4ax.com> References: <2g2t3t06r2agrrjmfnr41eu4lc2u39a8qi@4ax.com> <3A3EFF47.67DE69CF@gte.net> <91n9i30pr7@news2.newsguy.com> <slrn9402bt.fa6.neelk@alum.mit.edu> <91qa3r01m78@news2.newsguy.com> <slrn942nln.mjs.neelk@alum.mit.edu> X-Newsreader: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 49 Date: Wed, 20 Dec 2000 18:29:42 -0800 NNTP-Posting-Host: 216.26.43.43 X-Complaints-To: abuse@onemain.com X-Trace: nntp2.onemain.com 977365397 216.26.43.43 (Wed, 20 Dec 2000 21:23:17 EST) NNTP-Posting-Date: Wed, 20 Dec 2000 21:23:17 EST