*sigh*.... Why code can't run without errors on the first go....
@design_RG
Oh so this why people use paper for code... I couldn't understand why because I just tried to run it... But now test phase takes 25mins so.... Yeah.... I will need to refactor
@k11m1 I wrote a long reply, reminescing of my student times and learning this -- and posted it as reply to another post in the Local Feed, so it gets to be see more.
Link to it -- https://qoto.org/@design_RG/104189418692709660 -- and your user is in it too.
That could become a Blog post sometime soon, this is how some of mine started.
Thanks for the memories. 😃
@k11m1 LOL...
It is not impossible, but it takes a lot of concentration, and hopefully a smaller programme to work with.
When I first learned, we did not have access to computers directly at all; that was reserved for the high priesthood, serving the needs and whims of the large, school gym sized computer center. We students would create our programmes, that had to do some task assigned by profs.
And later get the lines of code ready for input -- punch cars for us. I did my own punching, found a quiet room wth a machine in the Physics department, little used, and would go there to prepare my deck,
Because testing was laborious (revisions equaling new cards needed, finding a punch, etc) we tried the best we could to read and follow the logic.
But I think getting it bug free in 3 passes was good, very good.
Fast forward many years, and me teaching basic programming; my students were bright, did well, but they found it quite hard to create a small programme in paper only (without trying to run and see what happens, to find the errors).
This was good for discipline, but it is less common. They whined everytime I called for a pencil and paper only task, lol.... 😺