News for hackers. Stuff that matters.
Re:Ask HN: How to know if you're a decent programmer? by mikewarot on Sunday February 06, 2022 @06:19AM (#30231489)
If you can, look at code you wrote, but haven't seen in a long time.

I'll go first... here's some Turbo Pascal code I wrote back in 1987/1988 to do cooperative multitasking. -- http://www.retroarchive.org/swag/MISC/0153.PAS.html

In reviewing it, I'd say I didn't document things quite enough, but even now it's easy to see what's going on, and why. I forgot that I saved the cursor position for each task, which is a nice thing to do for the user of the library. Overall, I'd say I did ok. After all, it was sufficiently useful enough that someone on the internet archived it for me.

If you have a sufficiently old piece of code, try that exercise out, and see how you think you did. If you can, post a link to it, and get critique.

There are no comments on this comment yet.