For CS teachers interested in matters Pythonic: http://lambda-the-ultimate.org/node/1840 Kirby
On 8/3/07, kirby urner <kirby.urner@gmail.com> wrote:
For CS teachers interested in matters Pythonic:
http://lambda-the-ultimate.org/node/1840
Kirby
Providing some of my own feedback: There's this "MIT mystique" where part of the fascination is all the Hogwartsian bureaucracy (the attribute "Kafkaesque" comes to mind): Course VI, with such as 6.001 and 6.099, unchanged in 20 years. That these courses are "barely doable" just adds to their flamboyance. Tinkering with the core language mix, therefore, is *significant* (if you're buying into the MIT mystique, which most of us do (e.g. see my "Mayan thread" @ Math Forum)). I like the idea of controlling a robot, but question whether turtle "move" commands will be needed. The tux droid has wings that flap, eyes the open and close... but it just spins on its butt, doesn't walk (apropos penguins, who maybe do it a lot, but not very well). Easier for computer lab use, a stationary bot. import tux tux.cmd.lefteye_open() tux.rotate_on_butt(3) # quarter turns stuff like that. Beyond that, I think MIT is banking on its students being highly competitive and questioning this Pythonic approach. They'll learn other languages, as an expression of their academic freedom to do so. What are we losing by moving to Python? Lambda calculus rears from the ocean, a Legendary Beast. What if we forget about lambda? Alonso Church et al? "Guido is a lamba hater" someone warns. Reminds me of pleasant chats in greener pastures with Tim Peters, about "little lambda" (Kirby: "we like our lambdas little, make do sans the big woolly Scheme sheep"). Kirby
Easier for computer lab use, a stationary bot.
import tux tux.cmd.lefteye_open() tux.rotate_on_butt(3) # quarter turns
stuff like that.
Adding some crunchy realism, since I have said droid connected to this Ubuntu Dell: Python 2.5.1 (r251:54863, May 2 2007, 16:56:35) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2 Type "help", "copyright", "credits" or "license" for more information.
import sys sys.path.append('/home/kirby/tuxsetup-1.0-final/tuxdroid/doc/examples') sys.path.append('/home/kirby/tuxsetup-1.0-final/tuxdroid/api/python') import tux CONNECTED to tuxd CONNECTED to tuxttsd tux.cmd.eyes_close() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'cmd' from tux import * tux.cmd.eyes_close() tux.cmd.eyes_open() tux.cmd.soundtest() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'TUXcmd' object has no attribute 'soundtest' tux.cmd.sound_test() tux.tts.speak("Hello World!") True
Alonso Church et al?
"Guido is a lamba hater" someone warns.
Not so fast ... <http://lambda-the-ultimate.org/node/1840#comment-22427> Chris, You had better nix the 'lambda's -- Guido is a lambda hater<http://www.artima.com/weblogs/viewpost.jsp?thread=98196>. ;-) By Rick Hanson <http://lambda-the-ultimate.org/user/3538> at Mon, 2006-11-20 00:06 | login <http://lambda-the-ultimate.org/user/login> or register<http://lambda-the-ultimate.org/user/register>to post comments Reminds me of pleasant chats in greener pastures with
Tim Peters, about "little lambda" (Kirby: "we like our lambdas little, make do sans the big woolly Scheme sheep").
Kirby
participants (1)
-
kirby urner