Re:Why did we ever think a student's first programming langu...
by mbo on Sunday June 27, 2021 @06:59AM
(#27650497)
What do you think of https://www.pyret.org/?
Re:Why did we ever think a student's first programming langu...
by Closi on Monday June 28, 2021 @05:06PM
(#27668129)
Super cool, but also difficult to start for total beginners!
I suspect this is aimed more at people who can already program and want to learn functional programming, rather than people who have never programmed, but I might be wrong!
* Simple Syntax - I think it's important for this to be a 'typed' language rather than blockly-style as otherwise people find it hard to transition after. It's important to learn typing in syntax otherwise that's a band-aid that's harder to rip off after.
* Mix of dynamic and static typing - On the other hand, words like 'integer', 'string', 'for' e.t.c. confuse people who are starting. A good starter language would allow people to dynamic type and then encourage them to static type in the future, getting them used to the terms.
* Very helpful error messages.
* Standard functions that support drawing simple stuff to screen (I'm looking at you python - how hard is it to draw a circle for a beginner! Beginners want to break out of the terminal quickly).
Would love to hear everyone else's thoughts!