[plt-scheme] A data point on 'match' in intro programming: +++!
I'm leading high-school students through the construction of a bare-
bones "universe.ss" application that models the prisoner's dilemma,
and I decided to import 'match' using a teachpack. My experience thus
far has been completely positive, and if there's a drawback to using
'match' to replace structure-reference functions and predicates, it
hasn't come up.
Well, actually, I suppose I can imagine the following objections:
- a straightforward import of 'match' doesn't support symbol patterns
(presumably, it's a different "quote").
- you can't do nifty higher-order things with predicates and structure
reference functions.
Both of these seem pretty minor.
Anyhow: thanks, all, especially Sam!
John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2484 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20090707/dceca953/attachment.p7s>