Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Pyret: A language for education on scripting and functional paradigms and more (pyret.org)
15 points by philonoist on July 7, 2023 | hide | past | favorite | 3 comments



I think an explicit ```return:``` block is necessary.

The current indentation and blocking is confusing. I can accept that calculations can happen in the body anywhere but reading those indented doc: and unindented where: is confusing.


Is there something about Python that makes it special for teaching? Is function application via spaces like ML-family languages difficult for learners?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: