←back to thread

Tldraw Computer

(computer.tldraw.com)
530 points duck | 1 comments | | HN request time: 0.271s | source
Show context
attentionmech ◴[] No.42469415[source]
This can be a good tool to teach kids programming/generative-ai
replies(1): >>42473912 #
1. ggerules ◴[] No.42473912[source]
Actually in its present form. It would need to be supervised to help teach kids programming.

I just spent the last few hours typing in the specification of a Freshman programming project that I use to teach, Rock, Paper, Scissors.

Specifying the programming assignment using either Python, C or C++, using their parameterization feature. Parameterization is very cool by the way!

It would routinely miss putting any headers in for the C or C++ examples. Once in awhile it would generate actual working code in C and C++. But it was all unindented. The same for Python also. The Python code had no indenting everytime causing indentation errors for the Python environment. I tried many different ways of specifying indentation for the text output; it didn't work. Possibly b/c of the HTML output being generated. It's 90% there, but the user would actually have to have some knowledge of the programming language to make sense of the errors.