Re:Pyret: A new programming language from the creators of Ra...
by skrishnamurthi on Saturday November 09, 2013 @07:45PM
(#6704414)
That same regularity also means there are few guideposts as a student programs, and this makes it much harder to recover from mistakes. We've looked at a lot data on this (and have taught Racket at every level for decades).
[ Parent
| on HN ]
Re:Pyret: A new programming language from the creators of Ra...
by ufo on Saturday November 09, 2013 @08:31PM
(#6704638)
This reminds me a bit about a similar problem in Haskell. The syntax is very whitespacey so lots of things that would usually be syntax errors in other languages end up being interpreted as invalid function applications, leading to complex type-errors.
Re:Pyret: A new programming language from the creators of Ra...
by skrishnamurthi on Saturday November 09, 2013 @08:47PM
(#6704687)
Absolutely. For instance, if you leave off an argument in a recursive call, Haskell will quietly think you meant to curry the called function, which can manifest itself as a type error in some entirely different place.
Re:Pyret: A new programming language from the creators of Ra...
by chongli on Saturday November 09, 2013 @09:17PM
(#6704798)
If you need guideposts, use an editor with paredit support and rainbow delimiters. This makes Lisp feel far more intuitive and tree-like than normal.
Re:Pyret: A new programming language from the creators of Ra...
by skrishnamurthi on Saturday November 09, 2013 @11:28PM
(#6705210)
You seem to be under the impression I haven't programmed in Lispy languages. And our data are from students using DrRacket, which very much has paredit support. These are just inconvenient truths.
Re:Pyret: A new programming language from the creators of Ra...
by chongli on Sunday November 10, 2013 @11:32AM
(#6707112)
DrRacket is a very big language. How does it compare with using a much smaller language such as the Scheme used in SICP?
Re:Pyret: A new programming language from the creators of Ra...
by samth on Sunday November 10, 2013 @01:36PM
(#6707787)
DrRacket is an IDE that supports many languages. The curricula that Shriram has used at Brown, and that others have used in many other places uses a sequence of smaller languages designed for teaching.
Re:Pyret: A new programming language from the creators of Ra...
by skrishnamurthi on Sunday November 10, 2013 @03:20PM
(#6708245)
Our studies were on students using Beginning Student Language, the smallest of the languages built into DrRacket. It is much smaller than the Scheme used in SICP.