Comment

Comment by lelanthran

> Entirely built from scratch in C without any dependencies. Now I wrote this code when I was 16

Very few young folk are learning C; I think it is commendable that you are.

You code doesn't seem very strongly structured (to be expected, TBH) but much better than any learner would see.

What resources did you use to start learning C? I ask because it looks to me that those resources covered "how to program in C" but not so much design and structure.

Here's two links (my own blog) to get you started on one or two common C patterns designed to minimise bugs:

https://www.lelanthran.com/chap9/content.html

https://www.lelanthran.com/chap13/content.html

parent lelanthran 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton