News for hackers. Stuff that matters.
Re:Tldraw Computer by attentionmech on Friday December 20, 2024 @04:08AM (#42469415)
This can be a good tool to teach kids programming/generative-ai
Re:Tldraw Computer by ggerules on Friday December 20, 2024 @02:10PM (#42473912)
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.